mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(multiboards): expand time filters in place
This commit is contained in:
@@ -55,7 +55,7 @@ const convertDynamicTimeFilterNameToSeconds = (timeFilterName: string): number |
|
||||
}
|
||||
};
|
||||
|
||||
const getTimeFilterSeconds = (timeFilterName: string | null | undefined): number | undefined => {
|
||||
export const getTimeFilterSeconds = (timeFilterName: string | null | undefined): number | undefined => {
|
||||
if (!timeFilterName || timeFilterName === 'all') {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user