From 644759134126c18d1d1180e89376793c18526856 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Tue, 8 Jan 2019 14:33:01 +0100 Subject: [PATCH] SONAR-9392 Re-render the inheritance info upon update --- .../apps/quality-profiles/details/ProfileInheritance.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 { - this.props.updateProfiles(); + this.props.updateProfiles().then( + () => { + this.loadData(); + }, + () => {} + ); this.closeForm(); }; -- 2.39.5