From 799beb92a63b7cac59d7bea4509f9383d9936650 Mon Sep 17 00:00:00 2001 From: Mathieu Suen Date: Fri, 12 Jul 2024 15:58:41 +0200 Subject: [PATCH] SGB-69 Prevent closing the permission template modal before apply is complete --- .../js/apps/permissions/project/components/ApplyTemplate.tsx | 1 + 1 file changed, 1 insertion(+) 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 && (