File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/app/conf/2025/schedule/_components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export const FilterStates = {
56
56
type FiltersProps = {
57
57
categories : FilterCategoryConfig [ ]
58
58
filterState : Record < string , string [ ] >
59
- enabledOptions : Record < string , Set < string > | null > | null
59
+ enabledOptions : Record < string , Set < string > | null >
60
60
onFilterChange : ( category : string , newSelectedOptions : string [ ] ) => void
61
61
}
62
62
@@ -117,7 +117,7 @@ export function ResetFiltersButton({
117
117
interface FiltersComboboxProps {
118
118
label : string
119
119
options : string [ ]
120
- enabledOptions : Set < string >
120
+ enabledOptions : Set < string > | null
121
121
value : string [ ]
122
122
onChange : ( newSelectedOptions : string [ ] ) => void
123
123
placeholder : string
@@ -195,7 +195,7 @@ function FiltersCombobox({
195
195
< ComboboxOption
196
196
key = { option }
197
197
value = { option }
198
- disabled = { enabledOptions && ! enabledOptions . has ( option ) }
198
+ disabled = { enabledOptions ? ! enabledOptions . has ( option ) : false }
199
199
>
200
200
{ ( { active, selected } ) => (
201
201
< FilterComboboxOption
You can’t perform that action at this time.
0 commit comments