aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author7PH <benjamin.raymond@sonarsource.com>2023-11-08 11:25:05 +0100
committersonartech <sonartech@sonarsource.com>2023-11-08 20:02:54 +0000
commit8eef86798ae784e5f047f35ab26105e4e2c89e12 (patch)
treed724ed9711ea2005d3939c930923dff2025af116
parent04a75cc75ba525278b4ee0f83d8ec67bfdc0a10b (diff)
downloadsonarqube-8eef86798ae784e5f047f35ab26105e4e2c89e12.tar.gz
sonarqube-8eef86798ae784e5f047f35ab26105e4e2c89e12.zip
SONAR-20975 Fix not-found error after navigating to an issue after transitioning it
-rw-r--r--server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx b/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx
index 75a2bef6d3c..a71f1818155 100644
--- a/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx
+++ b/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx
@@ -27,7 +27,6 @@ import { getComponentIssuesUrl, getIssuesUrl } from '../../../helpers/urls';
import { BranchLike } from '../../../types/branch-like';
import { Issue } from '../../../types/types';
import { useLocation } from '../../hoc/withRouter';
-import { DEFAULT_ISSUES_QUERY } from '../../shared/utils';
export interface IssueMessageProps {
issue: Issue;
@@ -49,7 +48,6 @@ export default function IssueMessage(props: IssueMessageProps) {
...getBranchLikeQuery(branchLike),
files: issue.componentLongName,
open: issue.key,
- ...DEFAULT_ISSUES_QUERY,
why: '1',
});