diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2019-01-08 14:33:01 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-01-16 09:43:12 +0100 |
commit | 644759134126c18d1d1180e89376793c18526856 (patch) | |
tree | 286135fbc6c7389591d2855a0408a2a9fb81b64c /server/sonar-web/src/main/js/apps/quality-profiles | |
parent | e4debe10e44e22f43b00357692eeaae1e13ec32e (diff) | |
download | sonarqube-644759134126c18d1d1180e89376793c18526856.tar.gz sonarqube-644759134126c18d1d1180e89376793c18526856.zip |
SONAR-9392 Re-render the inheritance info upon update
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx | 7 |
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(); }; |