]> source.dussan.org Git - sonarqube.git/commitdiff
Fix broken link to inherited Quality Profile in rule view
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Tue, 15 Aug 2017 08:51:31 +0000 (10:51 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Thu, 17 Aug 2017 14:42:15 +0000 (16:42 +0200)
server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js

index 467579af5a5b75f82f58a242cb41cd4880dca2f4..916af2e5f037619ac4209806cbeaa8b07d87b0ec 100644 (file)
@@ -169,7 +169,7 @@ export default Marionette.ItemView.extend({
       templateKey: this.options.rule.get('templateKey'),
       isTemplate: this.options.rule.get('isTemplate'),
       profilePath: this.getProfilePath(this.model.get('lang'), this.model.get('name')),
-      parentProfilePath: parent && this.getProfilePath(parent.key)
+      parentProfilePath: parent && this.getProfilePath(parent.lang, parent.name)
     };
   }
 });