We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d63e96 commit dfa5c41Copy full SHA for dfa5c41
src/Common/Hooks/useUrlFilters/utils.tsx
@@ -32,11 +32,7 @@ export const areAnyAdditionalFiltersApplied = (parsedParams: Record<string | num
32
return false
33
}
34
35
- if (Array.isArray(parsedParams[key])) {
36
- return parsedParams[key].length > 0
37
- }
38
-
39
- if (typeof parsedParams[key] === 'string') {
+ if (Array.isArray(parsedParams[key]) || typeof parsedParams[key] === 'string') {
40
return parsedParams[key].length > 0
41
42
0 commit comments