diff --git a/frontend/src/components/Widgets/CustomGroupedButtons.tsx b/frontend/src/components/Widgets/CustomGroupedButtons.tsx index 8ea777d1..0420f633 100644 --- a/frontend/src/components/Widgets/CustomGroupedButtons.tsx +++ b/frontend/src/components/Widgets/CustomGroupedButtons.tsx @@ -40,6 +40,7 @@ export default function GroupedButtons({handleClick, selectedOption, options, se aria-label="select merge strategy" aria-haspopup="menu" onClick={handleToggle} + disabled={options?.length > 0 ? false : true} > @@ -65,7 +66,7 @@ export default function GroupedButtons({handleClick, selectedOption, options, se - {options.map((option: string, index: number) => ( + {options?.map((option: string, index: number) => (