Skip to content

Commit 0210913

Browse files
fix(wizards/subnetwork): incorrect title for create wizard (openscd#645)
1 parent 3b39d20 commit 0210913

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wizards/subnetwork.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export function createSubNetworkAction(parent: Element): WizardActor {
104104
export function createSubNetworkWizard(parent: Element): Wizard {
105105
return [
106106
{
107-
title: get('wizard.title.create', { tagName: 'SubNetwork' }),
107+
title: get('wizard.title.add', { tagName: 'SubNetwork' }),
108108
primary: {
109109
icon: 'add',
110110
label: get('add'),

test/unit/wizards/__snapshots__/subnetwork.test.snap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ snapshots["Wizards for SCL element SubNetwork include an edit wizard that with m
123123
snapshots["Wizards for SCL element SubNetwork include an create wizard that looks like the latest snapshot"] =
124124
`<mwc-dialog
125125
defaultaction="close"
126-
heading="[wizard.title.create]"
126+
heading="[wizard.title.add]"
127127
open=""
128128
>
129129
<div id="wizard-content">

0 commit comments

Comments
 (0)