aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-08-15 10:51:31 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-08-17 16:42:15 +0200
commit035756fec458878923f2eaf0cce995e0ce3ed7dd (patch)
treeab49b51514ed14af336258e12b3d063ac933d6e4 /server/sonar-web
parentd61b51aaa96a8990ddec641ac4f3e37f4ea73947 (diff)
downloadsonarqube-035756fec458878923f2eaf0cce995e0ce3ed7dd.tar.gz
sonarqube-035756fec458878923f2eaf0cce995e0ce3ed7dd.zip
Fix broken link to inherited Quality Profile in rule view
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js
index 467579af5a5..916af2e5f03 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js
+++ b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profile-view.js
@@ -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)
};
}
});