mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(catalog): if time filter is 'bump order', it should say 'last bumped' instead of 'newer than'
This commit is contained in:
@@ -197,11 +197,13 @@ export const TimeFilter = ({ isInAllView, isInCatalogView, isInSubscriptionsView
|
||||
link && navigate(link);
|
||||
};
|
||||
|
||||
const { sortType } = useSortingStore();
|
||||
|
||||
return (
|
||||
<>
|
||||
{!isTopbar ? (
|
||||
<>
|
||||
<span>{t('newer_than')}</span>:
|
||||
<span>{isInCatalogView ? (sortType === 'active' ? t('last_bumped') : t('newer_than')) : t('last_bumped')}</span>:
|
||||
</>
|
||||
) : (
|
||||
<> </>
|
||||
|
||||
Reference in New Issue
Block a user