Browse Source

Add genre column to artist list

master
jeffvli 3 years ago
parent
commit
0aa0e1f71a
  1. 22
      src/components/settings/ListViewColumns.ts

22
src/components/settings/ListViewColumns.ts

@ -1011,6 +1011,17 @@ export const artistColumnList = [
label: i18n.t('Favorite'),
},
},
{
label: i18n.t('Genre'),
value: {
id: i18n.t('Genre'),
dataKey: 'genre',
alignment: 'left',
resizable: true,
width: 70,
label: i18n.t('Genre'),
},
},
{
label: i18n.t('Rating'),
value: {
@ -1089,6 +1100,16 @@ export const artistColumnListAuto = [
label: i18n.t('Favorite'),
},
},
{
label: i18n.t('Genre'),
value: {
id: i18n.t('Fav'),
dataKey: 'genre',
alignment: 'center',
flexGrow: 2,
label: i18n.t('Genre'),
},
},
{
label: i18n.t('Rating'),
value: {
@ -1117,6 +1138,7 @@ export const artistColumnPicker = [
{ label: i18n.t('CoverArt') },
{ label: i18n.t('Duration') },
{ label: i18n.t('Favorite') },
{ label: i18n.t('Genre') },
{ label: i18n.t('Rating') },
{ label: i18n.t('Title') },
];

Loading…
Cancel
Save