Skip to content

Handle undefined global filters gracefully by adding fallback arrays

8f0aed7
Select commit
Loading
Failed to load commit list.
Merged

Restructure globalFilters state for per-table recent filters #3813

Handle undefined global filters gracefully by adding fallback arrays
8f0aed7
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 23, 2026 in 50s

Annotations

Check warning on line 24 in src/components/results/common/global-filter/global-filter-utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZz3nKxAECwT7qWuJE7e&open=AZz3nKxAECwT7qWuJE7e&pullRequest=3813

Check failure on line 54 in src/redux/globalFiltersMiddleware.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZz3nK3OECwT7qWuJE7g&open=AZz3nK3OECwT7qWuJE7g&pullRequest=3813

Check warning on line 359 in src/redux/reducer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=gridsuite_gridstudy-app&issues=AZz3nK2SECwT7qWuJE7f&open=AZz3nK2SECwT7qWuJE7f&pullRequest=3813