1
0
Fork 0
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:
Yajith Dayarathna 2024-10-14 11:27:04 +13:00 committed by GitHub
parent fd0bc652a9
commit c88382ec1f
8 changed files with 13 additions and 86 deletions

View file

@ -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);
}}
/>