Skip to content

Commit b9484a1

Browse files
rueckstiesskangas
authored andcommitted
INT-1480 remove explain plan feature flag
(cherry picked from commit 6303684)
1 parent ff23422 commit b9484a1

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/app/home/collection.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ var MongoDBCollectionView = View.extend({
2929
default: 'schemaView',
3030
values: ['documentView', 'schemaView', 'explainView', 'indexView']
3131
},
32-
ns: 'string',
33-
showExplainPlanTab: {
34-
type: 'boolean',
35-
default: false
36-
}
32+
ns: 'string'
3733
},
3834
events: {
3935
'click ul.nav li a': 'onTabClicked'
@@ -55,10 +51,6 @@ var MongoDBCollectionView = View.extend({
5551
'explainView': '[data-hook=explain-tab]',
5652
'indexView': '[data-hook=index-tab]'
5753
}
58-
},
59-
showExplainPlanTab: {
60-
type: 'toggle',
61-
hook: 'explain-tab'
6254
}
6355
},
6456
subviews: {
@@ -105,7 +97,6 @@ var MongoDBCollectionView = View.extend({
10597
},
10698
explainView: {
10799
hook: 'explain-subview',
108-
waitFor: 'showExplainPlanTab',
109100
prepareView: function(el) {
110101
return new ExplainView({
111102
el: el,
@@ -131,7 +122,6 @@ var MongoDBCollectionView = View.extend({
131122
}
132123
},
133124
initialize: function() {
134-
this.showExplainPlanTab = app.isFeatureEnabled('showExplainPlanTab');
135125
this.model = new MongoDBCollection();
136126
this.listenToAndRun(this.parent, 'change:ns', this.onCollectionChanged.bind(this));
137127
},

0 commit comments

Comments
 (0)