From 1dd5c67392e92b0fbd21e60e67a58197f7a03e7f Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 30 May 2024 10:55:25 +0200 Subject: [PATCH] Allow disable specific options --- .../src/components/grid/controls/ColumnsSettingButton.svelte | 2 +- .../components/grid/controls/ToggleActionButtonGroup.svelte | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/frontend-core/src/components/grid/controls/ColumnsSettingButton.svelte b/packages/frontend-core/src/components/grid/controls/ColumnsSettingButton.svelte index 70655bd5a3..7e330b77e4 100644 --- a/packages/frontend-core/src/components/grid/controls/ColumnsSettingButton.svelte +++ b/packages/frontend-core/src/components/grid/controls/ColumnsSettingButton.svelte @@ -92,7 +92,7 @@ ({ ...o, disabled: true }))} /> {/if} {#each $columns as column} diff --git a/packages/frontend-core/src/components/grid/controls/ToggleActionButtonGroup.svelte b/packages/frontend-core/src/components/grid/controls/ToggleActionButtonGroup.svelte index e705b5016d..2e62c593d1 100644 --- a/packages/frontend-core/src/components/grid/controls/ToggleActionButtonGroup.svelte +++ b/packages/frontend-core/src/components/grid/controls/ToggleActionButtonGroup.svelte @@ -7,7 +7,6 @@ export let value export let options - export let disabled
@@ -15,7 +14,7 @@ dispatch("click", option.value)} - {disabled} + disabled={option.disabled} size="S" icon={option.icon} quiet