mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
fix size configuration toggle
This commit is contained in:
@@ -176,12 +176,12 @@ export const TableConfig = ({
|
|||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
onChange={(value) =>
|
onChange={(value) =>
|
||||||
setList(listKey, {
|
setTableUpdate({
|
||||||
table: { size: value as 'compact' | 'default' },
|
size: value as 'compact' | 'default' | 'large',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
size="sm"
|
size="sm"
|
||||||
value={table.size}
|
value={table?.size ?? 'default'}
|
||||||
w="100%"
|
w="100%"
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user