Skip to content

Commit

Permalink
fix(wizards/subnetwork): incorrect title for create wizard (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobVogelsang committed Mar 30, 2022
1 parent 3b39d20 commit 0210913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wizards/subnetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function createSubNetworkAction(parent: Element): WizardActor {
export function createSubNetworkWizard(parent: Element): Wizard {
return [
{
title: get('wizard.title.create', { tagName: 'SubNetwork' }),
title: get('wizard.title.add', { tagName: 'SubNetwork' }),
primary: {
icon: 'add',
label: get('add'),
Expand Down
2 changes: 1 addition & 1 deletion test/unit/wizards/__snapshots__/subnetwork.test.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ snapshots["Wizards for SCL element SubNetwork include an edit wizard that with m
snapshots["Wizards for SCL element SubNetwork include an create wizard that looks like the latest snapshot"] =
`<mwc-dialog
defaultaction="close"
heading="[wizard.title.create]"
heading="[wizard.title.add]"
open=""
>
<div id="wizard-content">
Expand Down

0 comments on commit 0210913

Please sign in to comment.