diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-04-17 12:11:11 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-04-18 20:20:53 +0200 |
commit | d1e95cf62f9b38e7e7df0a5ecc881620298da803 (patch) | |
tree | 085f67ac9d9ac8be315ed3af09398f5f813a804d /server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx | |
parent | abcce903fa73b67812b7de04a0414f0ea44b0e58 (diff) | |
download | sonarqube-d1e95cf62f9b38e7e7df0a5ecc881620298da803.tar.gz sonarqube-d1e95cf62f9b38e7e7df0a5ecc881620298da803.zip |
SONAR-10050 Switch Issues/Effort in issues page when data is available
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx b/server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx index 6c39c35aa76..9b27208e74c 100644 --- a/server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx +++ b/server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx @@ -29,6 +29,7 @@ import { translate } from '../../../helpers/l10n'; interface Props { facetMode: string; + loading?: boolean; onChange: (changes: Partial<Query>) => void; onToggle: (property: string) => void; open: boolean; @@ -74,6 +75,7 @@ export default class SeverityFacet extends React.PureComponent<Props> { disabled={stat === 0 && !active} halfWidth={true} key={severity} + loading={this.props.loading} name={<SeverityHelper severity={severity} />} onClick={this.handleItemClick} stat={formatFacetStat(stat, this.props.facetMode)} |