We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7232fc commit cce7717Copy full SHA for cce7717
1 file changed
extensions/src/platform-get-resources/src/project-resource-filter.component.tsx
@@ -30,7 +30,7 @@ export default function ProjectResourceFilter({
30
localizedAllText,
31
}: ProjectResourceFilterProps) {
32
const isFiltered = value !== 'all';
33
- const selectedOption = isFiltered ? options.find((opt) => opt.key === value) : null;
+ const selectedOption = isFiltered ? options.find((opt) => opt.key === value) : undefined;
34
const Icon = selectedOption ? selectedOption.icon : Filter;
35
36
return (
0 commit comments