Skip to content

Commit

Permalink
Better misc track hiding
Browse files Browse the repository at this point in the history
  • Loading branch information
user890104 committed Sep 28, 2024
1 parent 477ea11 commit f99cd4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Schedule/utils.js
Original file line number Diff line number Diff line change
@@ -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());

0 comments on commit f99cd4b

Please sign in to comment.