]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9392 Re-render the inheritance info upon update
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Tue, 8 Jan 2019 13:33:01 +0000 (14:33 +0100)
committersonartech <sonartech@sonarsource.com>
Wed, 16 Jan 2019 08:43:12 +0000 (09:43 +0100)
server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx

index 2498be97778abb00b8924e7c758d343ef2d09914..968de095f73381c102acece282211699f931ca0e 100644 (file)
@@ -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();
   };