Skip to content

Commit 7559cbd

Browse files
mfranzkeMaximilian FranzkeMaximilian FranzkebmuenzenmeyerJosefBredereck
authored
improvement: ability to configure default pattern info code panel pattern-lab#1155 (pattern-lab#1156)
* improvement: ability to configure default pattern info code panel pattern-lab#1155 * docs(config): added the default config values pattern-lab#1155 Co-authored-by: Maximilian Franzke <[email protected]> Co-authored-by: Maximilian Franzke <[email protected]> Co-authored-by: Maximilian Franzke <[email protected]> Co-authored-by: Brian Muenzenmeyer <[email protected]> Co-authored-by: Josef Bredreck <[email protected]>
1 parent 40a84ac commit 7559cbd

File tree

1 file changed

+1
-1
lines changed
  • packages/uikit-workshop/src/scripts/components

1 file changed

+1
-1
lines changed

packages/uikit-workshop/src/scripts/components/panels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function init(event) {
8484
Panels.add({
8585
id: 'pl-panel-html',
8686
name: 'HTML',
87-
default: false,
87+
default: window.config.defaultPatternInfoPanelCode && window.config.defaultPatternInfoPanelCode === 'html',
8888
templateID: 'pl-panel-template-code',
8989
httpRequest: true,
9090
httpRequestReplace: fileSuffixMarkup + '.html',

0 commit comments

Comments
 (0)