File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff 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 } ,
You can’t perform that action at this time.
0 commit comments