Skip to content

Commit a71b667

Browse files
authored
fix: enable compare plugin by default (openscd#1255)
1 parent 436c764 commit a71b667

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

public/js/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export const officialPlugins = [
202202
name: 'Compare IED',
203203
src: '/src/menu/CompareIED.js',
204204
icon: 'compare_arrows',
205-
default: false,
205+
default: true,
206206
kind: 'menu',
207207
requireDoc: true,
208208
position: 'middle',

test/integration/__snapshots__/open-scd.test.snap.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,24 @@ snapshots["open-scd looks like its snapshot"] =
252252
</mwc-list-item>
253253
<oscd-plugin2a662bacb120083f class="menu plugin">
254254
</oscd-plugin2a662bacb120083f>
255+
<mwc-list-item
256+
aria-disabled="true"
257+
class="middle"
258+
disabled=""
259+
graphic="icon"
260+
iconid="compare_arrows"
261+
mwc-list-item=""
262+
tabindex="-1"
263+
>
264+
<mwc-icon slot="graphic">
265+
compare_arrows
266+
</mwc-icon>
267+
<span>
268+
Compare IED
269+
</span>
270+
</mwc-list-item>
271+
<oscd-plugin46ae7b6e93fe0f90 class="menu plugin">
272+
</oscd-plugin46ae7b6e93fe0f90>
255273
<li
256274
divider=""
257275
padded=""
@@ -1025,6 +1043,7 @@ snapshots["open-scd looks like its snapshot"] =
10251043
hasmeta=""
10261044
left=""
10271045
mwc-list-item=""
1046+
selected=""
10281047
tabindex="-1"
10291048
value="/src/menu/CompareIED.js"
10301049
>

0 commit comments

Comments
 (0)