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({
29
29
default : 'schemaView' ,
30
30
values : [ 'documentView' , 'schemaView' , 'explainView' , 'indexView' ]
31
31
} ,
32
- ns : 'string' ,
33
- showExplainPlanTab : {
34
- type : 'boolean' ,
35
- default : false
36
- }
32
+ ns : 'string'
37
33
} ,
38
34
events : {
39
35
'click ul.nav li a' : 'onTabClicked'
@@ -55,10 +51,6 @@ var MongoDBCollectionView = View.extend({
55
51
'explainView' : '[data-hook=explain-tab]' ,
56
52
'indexView' : '[data-hook=index-tab]'
57
53
}
58
- } ,
59
- showExplainPlanTab : {
60
- type : 'toggle' ,
61
- hook : 'explain-tab'
62
54
}
63
55
} ,
64
56
subviews : {
@@ -105,7 +97,6 @@ var MongoDBCollectionView = View.extend({
105
97
} ,
106
98
explainView : {
107
99
hook : 'explain-subview' ,
108
- waitFor : 'showExplainPlanTab' ,
109
100
prepareView : function ( el ) {
110
101
return new ExplainView ( {
111
102
el : el ,
@@ -131,7 +122,6 @@ var MongoDBCollectionView = View.extend({
131
122
}
132
123
} ,
133
124
initialize : function ( ) {
134
- this . showExplainPlanTab = app . isFeatureEnabled ( 'showExplainPlanTab' ) ;
135
125
this . model = new MongoDBCollection ( ) ;
136
126
this . listenToAndRun ( this . parent , 'change:ns' , this . onCollectionChanged . bind ( this ) ) ;
137
127
} ,
You can’t perform that action at this time.
0 commit comments