File tree Expand file tree Collapse file tree
src/app/conf/2025/schedule/_components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export const FilterStates = {
5656type FiltersProps = {
5757 categories : FilterCategoryConfig [ ]
5858 filterState : Record < string , string [ ] >
59- enabledOptions : Record < string , Set < string > | null > | null
59+ enabledOptions : Record < string , Set < string > | null >
6060 onFilterChange : ( category : string , newSelectedOptions : string [ ] ) => void
6161}
6262
@@ -117,7 +117,7 @@ export function ResetFiltersButton({
117117interface FiltersComboboxProps {
118118 label : string
119119 options : string [ ]
120- enabledOptions : Set < string >
120+ enabledOptions : Set < string > | null
121121 value : string [ ]
122122 onChange : ( newSelectedOptions : string [ ] ) => void
123123 placeholder : string
@@ -195,7 +195,7 @@ function FiltersCombobox({
195195 < ComboboxOption
196196 key = { option }
197197 value = { option }
198- disabled = { enabledOptions && ! enabledOptions . has ( option ) }
198+ disabled = { enabledOptions ? ! enabledOptions . has ( option ) : false }
199199 >
200200 { ( { active, selected } ) => (
201201 < FilterComboboxOption
You can’t perform that action at this time.
0 commit comments