aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2019-01-08 14:33:01 +0100
committersonartech <sonartech@sonarsource.com>2019-01-16 09:43:12 +0100
commit644759134126c18d1d1180e89376793c18526856 (patch)
tree286135fbc6c7389591d2855a0408a2a9fb81b64c /server/sonar-web/src/main
parente4debe10e44e22f43b00357692eeaae1e13ec32e (diff)
downloadsonarqube-644759134126c18d1d1180e89376793c18526856.tar.gz
sonarqube-644759134126c18d1d1180e89376793c18526856.zip
SONAR-9392 Re-render the inheritance info upon update
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx
index 2498be97778..968de095f73 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx
@@ -103,7 +103,12 @@ export default class ProfileInheritance extends React.PureComponent<Props, State
};
handleParentChange = () => {
- this.props.updateProfiles();
+ this.props.updateProfiles().then(
+ () => {
+ this.loadData();
+ },
+ () => {}
+ );
this.closeForm();
};