aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/utils.ts
diff options
context:
space:
mode:
authorAmbroise C <ambroise.christea@sonarsource.com>2023-07-18 17:23:24 +0200
committersonartech <sonartech@sonarsource.com>2023-07-19 20:03:05 +0000
commita451c69c4fddd6f8ac8412a551a6baaa01bd11cc (patch)
tree1d4953ad6299762265681b80ba99da209f9cdf9f /server/sonar-web/src/main/js/apps/issues/utils.ts
parentd3ea6786888bcdfef4eb9206fbc6ce20569a79f1 (diff)
downloadsonarqube-a451c69c4fddd6f8ac8412a551a6baaa01bd11cc.tar.gz
sonarqube-a451c69c4fddd6f8ac8412a551a6baaa01bd11cc.zip
SONAR-19728 Unlock project issues page while reindexing issues
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/utils.ts')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/utils.ts b/server/sonar-web/src/main/js/apps/issues/utils.ts
index d2aee46d244..9638728d3ab 100644
--- a/server/sonar-web/src/main/js/apps/issues/utils.ts
+++ b/server/sonar-web/src/main/js/apps/issues/utils.ts
@@ -169,7 +169,7 @@ export function serializeQuery(query: Query): RawQuery {
export const areQueriesEqual = (a: RawQuery, b: RawQuery) =>
queriesEqual(parseQuery(a), parseQuery(b));
-export function parseFacets(facets: RawFacet[]): Dict<Facet> {
+export function parseFacets(facets?: RawFacet[]): Dict<Facet> {
if (!facets) {
return {};
}