fix: align table defaults and preserve sidebar svg colors

This commit is contained in:
IanShaw027
2026-04-10 18:27:53 +08:00
parent 7dc7ff22d2
commit f480e57344
10 changed files with 40 additions and 17 deletions
@@ -64,11 +64,11 @@ describe('tablePreferences', () => {
expect(normalizeTablePageSize(undefined)).toBe(20)
})
it('keeps built-in selectable defaults at 10, 20, 50', () => {
it('keeps built-in selectable defaults at 10, 20, 50, 100', () => {
window.__APP_CONFIG__ = {
table_default_page_size: 1000
} as any
expect(getConfiguredTablePageSizeOptions()).toEqual([10, 20, 50])
expect(getConfiguredTablePageSizeOptions()).toEqual([10, 20, 50, 100])
})
})