diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-12-11 11:45:56 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-01-16 09:43:08 +0100 |
commit | 0fa0c0f0ed65b9535495a97a8471c538fb765e6a (patch) | |
tree | d435186fce211a7e9cab1daa306298f31ac21bd2 /server/sonar-web/src/main/js | |
parent | 6067a4689902828f7331e2f0a45db02e654a1a06 (diff) | |
download | sonarqube-0fa0c0f0ed65b9535495a97a8471c538fb765e6a.tar.gz sonarqube-0fa0c0f0ed65b9535495a97a8471c538fb765e6a.zip |
SONAR-11476 drop link to measure history for directories
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/component-measures/components/MeasureHeader.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureHeader.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureHeader.tsx index 9c1b1898cfa..842c72ff5b8 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureHeader.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureHeader.tsx @@ -43,7 +43,7 @@ export default function MeasureHeader(props: Props) { const { branchLike, component, leakPeriod, measureValue, metric, secondaryMeasure } = props; const isDiff = isDiffMetric(metric.key); const hasHistory = - component.qualifier !== 'FIL' && component.qualifier !== 'UTS' && hasFullMeasures(branchLike); + ['VW', 'SVW', 'APP', 'TRK'].includes(component.qualifier) && hasFullMeasures(branchLike); const displayLeak = hasFullMeasures(branchLike); return ( <div className="measure-details-header big-spacer-bottom"> |