mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
add missing table configs
This commit is contained in:
@@ -640,6 +640,31 @@ const initialState: SettingsState = {
|
||||
globalMediaHotkeys: false,
|
||||
},
|
||||
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]: {
|
||||
display: ListDisplayType.TABLE,
|
||||
grid: {
|
||||
@@ -872,6 +897,31 @@ const initialState: SettingsState = {
|
||||
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: {
|
||||
alignment: 'center',
|
||||
|
||||
Reference in New Issue
Block a user