mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 05:49:40 +02:00
fix(apps): persist table settings [r8s-120] (#10)
Co-authored-by: testA113 <aliharriss1995@gmail.com>
This commit is contained in:
parent
fd0bc652a9
commit
c88382ec1f
8 changed files with 13 additions and 86 deletions
|
@ -16,10 +16,8 @@ export interface TableSettings
|
|||
|
||||
export function DefaultDatatableSettings({
|
||||
settings,
|
||||
onShowSystemChange,
|
||||
}: {
|
||||
settings: TableSettings;
|
||||
onShowSystemChange?(showSystem: boolean): void;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
|
@ -27,7 +25,6 @@ export function DefaultDatatableSettings({
|
|||
value={settings.showSystemResources}
|
||||
onChange={(value) => {
|
||||
settings.setShowSystemResources(value);
|
||||
onShowSystemChange?.(value);
|
||||
}}
|
||||
/>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue