aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues
diff options
context:
space:
mode:
authorstanislavh <stanislav.honcharov@sonarsource.com>2024-02-14 14:10:00 +0100
committersonartech <sonartech@sonarsource.com>2024-02-15 20:02:34 +0000
commiteb184b2376f69c49a6feec11a67231887a2dbbfe (patch)
tree1cbe480fa3a33edcc6c38a6b6a402ea9c9bfd54f /server/sonar-web/src/main/js/apps/issues
parente0a657e489c9420543798d7fb2013b1d3b94ac0e (diff)
downloadsonarqube-eb184b2376f69c49a6feec11a67231887a2dbbfe.tar.gz
sonarqube-eb184b2376f69c49a6feec11a67231887a2dbbfe.zip
SONAR-21586 Provide query for overall and new tabs in branch overview
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/sidebar/PeriodFilter.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/PeriodFilter.tsx b/server/sonar-web/src/main/js/apps/issues/sidebar/PeriodFilter.tsx
index 4768f867260..6fbd93b38b1 100644
--- a/server/sonar-web/src/main/js/apps/issues/sidebar/PeriodFilter.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/sidebar/PeriodFilter.tsx
@@ -20,7 +20,7 @@
import { BasicSeparator, FacetItem } from 'design-system';
import * as React from 'react';
import { translate } from '../../../helpers/l10n';
-import { MeasuresTabs } from '../../overview/utils';
+import { CodeScope } from '../../../helpers/urls';
import { Query } from '../utils';
import { FacetItemsList } from './FacetItemsList';
@@ -56,7 +56,7 @@ export function PeriodFilter(props: PeriodFilterProps) {
className="it__search-navigator-facet"
name={translate('issues.new_code')}
onClick={handleClick}
- value={newCodeSelected ? MeasuresTabs.New : MeasuresTabs.Overall}
+ value={newCodeSelected ? CodeScope.New : CodeScope.Overall}
/>
<BasicSeparator className="sw-mb-5 sw-mt-4" />