Better misc track hiding

This commit is contained in:
Vencislav Atanasov 2024-09-28 21:50:46 +03:00
parent 477ea115e8
commit f99cd4bdaa
1 changed files with 3 additions and 1 deletions

View File

@ -1 +1,3 @@
export const isTrackHidden = track => track?.name?.en === 'Other' || track?.name?.bg === 'Други'; export const isTrackHidden = track =>
['други', 'misc', 'misc.'].includes(track?.name?.bg?.toLowerCase()) ||
['other', 'misc', 'misc.'].includes(track?.name?.en?.toLowerCase());