diff options
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectActivity/components/forms/AddGraphMetric.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/forms/AddGraphMetric.js b/server/sonar-web/src/main/js/apps/projectActivity/components/forms/AddGraphMetric.js index c3ff24b0732..ece4bdad6d7 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/forms/AddGraphMetric.js +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/forms/AddGraphMetric.js @@ -60,6 +60,7 @@ export default class AddGraphMetric extends React.PureComponent { if ( metric.hidden || isDiffMetric(metric.key) || + ['DATA', 'DISTRIB'].includes(metric.type) || this.props.selectedMetrics.includes(metric.key) ) { return false; |