diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-11 16:48:35 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-11 16:48:35 -0400 |
| commit | 81feb03288166755545401b9df2ff2c9bc3ae7d7 (patch) | |
| tree | 7fc6799626519e5b01fb137f5440c99fda5faca7 /src/components/CollapsibleItemGroup.tsx | |
| parent | f185d26f4d37894183cdfa8c3e6ffc718cb3b103 (diff) | |
| download | decky-lsfg-vk-chore/migrate.tar.gz decky-lsfg-vk-chore/migrate.zip | |
handle flatpak grey, id proton and exclusionschore/migrate
Diffstat (limited to 'src/components/CollapsibleItemGroup.tsx')
| -rw-r--r-- | src/components/CollapsibleItemGroup.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/CollapsibleItemGroup.tsx b/src/components/CollapsibleItemGroup.tsx index 29fe945..a4e4092 100644 --- a/src/components/CollapsibleItemGroup.tsx +++ b/src/components/CollapsibleItemGroup.tsx @@ -6,6 +6,7 @@ export interface CollapsibleItem { id: string; label: string; description: string; + disabled?: boolean; } export const collapsibleItemGroupStyles = ` @@ -91,7 +92,8 @@ export function CollapsibleItemGroup({ <Field label={item.label} description={item.description} - onActivate={() => onSelect(item.id)} + disabled={item.disabled} + onActivate={item.disabled ? undefined : () => onSelect(item.id)} highlightOnFocus /> </PanelSectionRow> |
