aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/gate-conditions-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/gate-conditions-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/gate-conditions-view.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/gate-conditions-view.js b/server/sonar-web/src/main/js/apps/quality-gates/gate-conditions-view.js
index 5eb29360449..b0c0857cc95 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/gate-conditions-view.js
+++ b/server/sonar-web/src/main/js/apps/quality-gates/gate-conditions-view.js
@@ -1,10 +1,9 @@
define([
- 'backbone.marionette',
'./condition',
'./gate-condition-view',
'./gate-conditions-empty-view',
'./templates'
-], function (Marionette, Condition, ConditionView, ConditionsEmptyView) {
+], function (Condition, ConditionView, ConditionsEmptyView) {
return Marionette.CompositeView.extend({
template: Templates['quality-gate-detail-conditions'],
@@ -35,7 +34,7 @@ define([
this.ui.metricSelect.select2({
allowClear: false,
width: '250px',
- placeholder: window.t('alerts.select_metric')
+ placeholder: t('alerts.select_metric')
});
},