mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 20:40:15 +02:00
add proper labels to ND tag filters
This commit is contained in:
@@ -180,6 +180,14 @@ export const NDSongQueryFields = [
|
||||
{ label: 'Year', type: 'number', value: 'year' },
|
||||
];
|
||||
|
||||
export const NDSongQueryFieldsLabelMap: Record<string, string> = NDSongQueryFields.reduce(
|
||||
(acc, field) => {
|
||||
acc[field.value] = field.label;
|
||||
return acc;
|
||||
},
|
||||
{} as Record<string, string>,
|
||||
);
|
||||
|
||||
export const NDSongQueryPlaylistOperators = [
|
||||
{
|
||||
label: i18n.t('filterOperator.inPlaylist', { postProcess: 'titleCase' }),
|
||||
|
||||
Reference in New Issue
Block a user