mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
add missing table configs
This commit is contained in:
@@ -640,6 +640,31 @@ const initialState: SettingsState = {
|
|||||||
globalMediaHotkeys: false,
|
globalMediaHotkeys: false,
|
||||||
},
|
},
|
||||||
lists: {
|
lists: {
|
||||||
|
fullScreen: {
|
||||||
|
display: ListDisplayType.TABLE,
|
||||||
|
grid: {
|
||||||
|
itemGap: 'md',
|
||||||
|
itemsPerRow: 6,
|
||||||
|
itemsPerRowEnabled: false,
|
||||||
|
},
|
||||||
|
itemsPerPage: 100,
|
||||||
|
pagination: ListPaginationType.INFINITE,
|
||||||
|
table: {
|
||||||
|
columns: SONG_TABLE_COLUMNS.map((column) => ({
|
||||||
|
align: column.align,
|
||||||
|
autoSize: column.autoSize,
|
||||||
|
id: column.value,
|
||||||
|
isEnabled: column.isEnabled,
|
||||||
|
pinned: column.pinned,
|
||||||
|
width: column.width,
|
||||||
|
})),
|
||||||
|
enableAlternateRowColors: true,
|
||||||
|
enableHorizontalBorders: true,
|
||||||
|
enableRowHoverHighlight: true,
|
||||||
|
enableVerticalBorders: false,
|
||||||
|
size: 'default',
|
||||||
|
},
|
||||||
|
},
|
||||||
[LibraryItem.ALBUM]: {
|
[LibraryItem.ALBUM]: {
|
||||||
display: ListDisplayType.TABLE,
|
display: ListDisplayType.TABLE,
|
||||||
grid: {
|
grid: {
|
||||||
@@ -872,6 +897,31 @@ const initialState: SettingsState = {
|
|||||||
size: 'default',
|
size: 'default',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
sideQueue: {
|
||||||
|
display: ListDisplayType.TABLE,
|
||||||
|
grid: {
|
||||||
|
itemGap: 'md',
|
||||||
|
itemsPerRow: 6,
|
||||||
|
itemsPerRowEnabled: false,
|
||||||
|
},
|
||||||
|
itemsPerPage: 100,
|
||||||
|
pagination: ListPaginationType.INFINITE,
|
||||||
|
table: {
|
||||||
|
columns: SONG_TABLE_COLUMNS.map((column) => ({
|
||||||
|
align: column.align,
|
||||||
|
autoSize: column.autoSize,
|
||||||
|
id: column.value,
|
||||||
|
isEnabled: column.isEnabled,
|
||||||
|
pinned: column.pinned,
|
||||||
|
width: column.width,
|
||||||
|
})),
|
||||||
|
enableAlternateRowColors: true,
|
||||||
|
enableHorizontalBorders: true,
|
||||||
|
enableRowHoverHighlight: true,
|
||||||
|
enableVerticalBorders: false,
|
||||||
|
size: 'default',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
lyrics: {
|
lyrics: {
|
||||||
alignment: 'center',
|
alignment: 'center',
|
||||||
|
|||||||
Reference in New Issue
Block a user