Skip to content

Commit 2b60488

Browse files
author
Maximilian Franzke
committed
improvement(plugintabs): added part of #1155 #1156
even already to this checkin
1 parent 5573341 commit 2b60488

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ function init(event) {
6868
Panels.add({
6969
id: 'pl-panel-pattern',
7070
name: window.config.patternExtension.toUpperCase(),
71-
default: true,
71+
default: !window.config.defaultPatternInfoPanelCode ||
72+
window.config.defaultPatternInfoPanelCode ===
73+
window.config.patternExtension,
7274
templateID: 'pl-panel-template-code',
7375
httpRequest: true,
7476
httpRequestReplace: fileSuffixPattern,

0 commit comments

Comments
 (0)