mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix route check
This commit is contained in:
@@ -44,9 +44,11 @@ export const isCatalogView = (pathname: string, params: ParamsType): boolean =>
|
||||
decodedPathname === `/p/all/catalog` ||
|
||||
decodedPathname === `/p/all/catalog/settings` ||
|
||||
decodedPathname === `/p/all/catalog/${timeFilterName}` ||
|
||||
decodedPathname === `/p/all/catalog/${timeFilterName}/settings` ||
|
||||
decodedPathname === `/p/subscriptions/catalog` ||
|
||||
decodedPathname === `/p/subscriptions/catalog/settings` ||
|
||||
decodedPathname === `/p/subscriptions/catalog/${timeFilterName}`
|
||||
decodedPathname === `/p/subscriptions/catalog/${timeFilterName}` ||
|
||||
decodedPathname === `/p/subscriptions/catalog/${timeFilterName}/settings`
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user