From 8eef86798ae784e5f047f35ab26105e4e2c89e12 Mon Sep 17 00:00:00 2001 From: 7PH Date: Wed, 8 Nov 2023 11:25:05 +0100 Subject: [PATCH] SONAR-20975 Fix not-found error after navigating to an issue after transitioning it --- .../src/main/js/components/issue/components/IssueMessage.tsx | 2 -- 1 file changed, 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', }); -- 2.39.5