File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/uikit-workshop/src/scripts/components Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,10 @@ function init(event) {
68
68
Panels . add ( {
69
69
id : 'pl-panel-pattern' ,
70
70
name : window . config . patternExtension . toUpperCase ( ) ,
71
- default : ! window . config . defaultPatternInfoPanelCode ||
72
- window . config . defaultPatternInfoPanelCode ===
73
- window . config . patternExtension ,
71
+ default :
72
+ ! window . config . defaultPatternInfoPanelCode ||
73
+ window . config . defaultPatternInfoPanelCode ===
74
+ window . config . patternExtension ,
74
75
templateID : 'pl-panel-template-code' ,
75
76
httpRequest : true ,
76
77
httpRequestReplace : fileSuffixPattern ,
@@ -83,7 +84,7 @@ function init(event) {
83
84
Panels . add ( {
84
85
id : 'pl-panel-html' ,
85
86
name : 'HTML' ,
86
- default : false ,
87
+ default : window . config . defaultPatternInfoPanelCode && window . config . defaultPatternInfoPanelCode === 'html' ,
87
88
templateID : 'pl-panel-template-code' ,
88
89
httpRequest : true ,
89
90
httpRequestReplace : fileSuffixMarkup + '.html' ,
You can’t perform that action at this time.
0 commit comments