From: Mathieu Suen Date: Fri, 12 Jul 2024 13:58:41 +0000 (+0200) Subject: SGB-69 Prevent closing the permission template modal before apply is complete X-Git-Tag: 10.7.0.96327~360 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=799beb92a63b7cac59d7bea4509f9383d9936650;p=sonarqube.git SGB-69 Prevent closing the permission template modal before apply is complete --- diff --git a/server/sonar-web/src/main/js/apps/permissions/project/components/ApplyTemplate.tsx b/server/sonar-web/src/main/js/apps/permissions/project/components/ApplyTemplate.tsx index 2fe4a93fb8b..1c642dc64ac 100644 --- a/server/sonar-web/src/main/js/apps/permissions/project/components/ApplyTemplate.tsx +++ b/server/sonar-web/src/main/js/apps/permissions/project/components/ApplyTemplate.tsx @@ -113,6 +113,7 @@ export default class ApplyTemplate extends React.PureComponent { isOverflowVisible headerTitle={header} onClose={this.props.onClose} + loading={this.state.loading} primaryButton={ !this.state.done && (