Skip to content

Commit

Permalink
fix(../substation/general-equipment-editor.ts):action-icon_is_rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvanraalte committed Jan 9, 2023
1 parent 2d1464f commit 48af279
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
26 changes: 13 additions & 13 deletions src/editors/substation/general-equipment-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,21 +169,21 @@ export class GeneralEquipmentEditor extends LitElement {
</action-pane>`;

return html`<action-icon label=${this.header}>
<abbr slot="action" title="${translate('edit')}">
<mwc-fab
<mwc-icon slot="icon">${generalConductingEquipmentIcon}</mwc-icon>
<abbr slot="action" title="${translate('edit')}" />
<mwc-fab
slot="action"
mini
icon="edit"
@click=${() => this.openEditWizard()}
></mwc-fab
</abbr>
<abbr slot="action" title="${translate('remove')}">
<mwc-fab
icon="edit"
@click="${() => this.openEditWizard()}}"
></mwc-fab>
<abbr slot="action" title="${translate('remove')}" />
<mwc-fab
slot="action"
mini
icon="delete"
@click=${() => this.remove()}
></mwc-fab>
</abbr>
<mwc-icon slot="icon">${generalConductingEquipmentIcon}</mwc-icon>
icon="delete"
@click="${() => this.remove()}}"
></mwc-fab>
</action-icon>`;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ snapshots["Editor web component for GeneralEquipment SCL element rendered as act
label="genSub"
tabindex="0"
>
<mwc-icon slot="icon">
</mwc-icon>
<abbr
slot="action"
title="[edit]"
>
<mwc-fab
icon="edit"
mini=""
slot="action"
>
</mwc-fab>
<abbr
Expand All @@ -22,11 +25,10 @@ snapshots["Editor web component for GeneralEquipment SCL element rendered as act
<mwc-fab
icon="delete"
mini=""
slot="action"
>
</mwc-fab>
</abbr>
<mwc-icon slot="icon">
</mwc-icon>
</abbr>
</action-icon>
`;
Expand Down

0 comments on commit 48af279

Please sign in to comment.