diff --git a/src/utils/components/FilterSelect/InlineFilterSelect.tsx b/src/utils/components/FilterSelect/InlineFilterSelect.tsx index fa02baf33..1c6e78c56 100644 --- a/src/utils/components/FilterSelect/InlineFilterSelect.tsx +++ b/src/utils/components/FilterSelect/InlineFilterSelect.tsx @@ -53,6 +53,7 @@ const InlineFilterSelect: FC = ({ } setIsOpen(false); setFocusedItemIndex(null); + setSelected(value); }; const getOptionComponent = (opt: EnhancedSelectOptionProps) => @@ -123,7 +124,6 @@ const InlineFilterSelect: FC = ({ id={`select-inline-filter-${option.value?.replace(' ', '-')}`} isFocused={focusedItemIndex === index} key={option.value} - onClick={() => setSelected(option.value)} value={option.value} {...option} >