aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/coding-rules/routes.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/routes.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/routes.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/routes.tsx b/server/sonar-web/src/main/js/apps/coding-rules/routes.tsx
index f3b9c92c99c..65e968d8437 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/routes.tsx
+++ b/server/sonar-web/src/main/js/apps/coding-rules/routes.tsx
@@ -28,7 +28,7 @@ const EXPECTED_SPLIT_PARTS = 2;
function parseHash(hash: string): RawQuery {
const query: RawQuery = {};
const parts = hash.split('|');
- parts.forEach(part => {
+ parts.forEach((part) => {
const tokens = part.split('=');
if (tokens.length === EXPECTED_SPLIT_PARTS) {
query[decodeURIComponent(tokens[0])] = decodeURIComponent(tokens[1]);
@@ -47,7 +47,7 @@ function HashEditWrapper() {
const query = parseHash(hash.substr(1));
const normalizedQuery = {
...serializeQuery(parseQuery(query)),
- open: query.open
+ open: query.open,
};
navigate(
{ pathname: location.pathname, search: new URLSearchParams(normalizedQuery).toString() },