aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2019-06-24 10:29:46 +0200
committersonartech <sonartech@sonarsource.com>2019-06-28 08:45:53 +0200
commit2bf160e29360643f447b03c0e9e301f5ab6fb481 (patch)
treeefa88e77c76fd2b775fd51cd2eab1a9a851aa39a /server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx
parent6b32b6acfc429c66d837b4176b97727340c5bdba (diff)
downloadsonarqube-2bf160e29360643f447b03c0e9e301f5ab6fb481.tar.gz
sonarqube-2bf160e29360643f447b03c0e9e301f5ab6fb481.zip
SONAR-12167 Prevent facet spinner from overlapping with button
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.tsx3
1 files changed, 1 insertions, 2 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 4bd9b25755a..0a8916e945d 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
@@ -26,7 +26,6 @@ import FacetItem from '../../../components/facet/FacetItem';
import FacetItemsList from '../../../components/facet/FacetItemsList';
import SeverityHelper from '../../../components/shared/SeverityHelper';
import { translate } from '../../../helpers/l10n';
-import DeferredSpinner from '../../../components/common/DeferredSpinner';
import MultipleSelectionHint from '../../../components/facet/MultipleSelectionHint';
interface Props {
@@ -100,6 +99,7 @@ export default class SeverityFacet extends React.PureComponent<Props> {
return (
<FacetBox property={this.property}>
<FacetHeader
+ fetching={this.props.fetching}
name={translate('issues.facet', this.property)}
onClear={this.handleClear}
onClick={this.handleHeaderClick}
@@ -107,7 +107,6 @@ export default class SeverityFacet extends React.PureComponent<Props> {
values={values}
/>
- <DeferredSpinner loading={this.props.fetching} />
{this.props.open && (
<>
<FacetItemsList>{SEVERITIES.map(this.renderItem)}</FacetItemsList>