File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,14 @@ define([
69
69
...this . state
70
70
}
71
71
72
+ this . importTemplatesCopy = JSON . parse ( JSON . stringify ( importTemplates ) ) ;
73
+ if ( vpConfig . extensionType === 'lite' ) {
74
+ // for LITE: set default checked state as false on seaborn package
75
+ this . importTemplatesCopy [ 'data-analysis' ] [ 3 ] . checked = false ;
76
+ }
77
+
72
78
if ( ! this . state . importMeta || this . state . importMeta . length <= 0 ) {
73
- this . state . importMeta = JSON . parse ( JSON . stringify ( importTemplates [ this . state . tabType ] ) ) ;
79
+ this . state . importMeta = JSON . parse ( JSON . stringify ( this . importTemplatesCopy [ this . state . tabType ] ) ) ;
74
80
}
75
81
}
76
82
@@ -86,7 +92,7 @@ define([
86
92
$ ( that . wrapSelector ( '.vp-tab-button' ) ) . removeClass ( 'vp-tab-selected' ) ;
87
93
$ ( this ) . addClass ( 'vp-tab-selected' ) ;
88
94
// replace libraries
89
- that . state . importMeta = importTemplates [ tabType ] ;
95
+ that . state . importMeta = that . importTemplatesCopy [ tabType ] ;
90
96
$ ( that . wrapSelector ( '#vp_tblImport' ) ) . replaceWith ( function ( ) {
91
97
return that . templateTable ( that . state . importMeta ) ;
92
98
} ) ;
You can’t perform that action at this time.
0 commit comments