Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(../substation/general-equipment-editor.ts):action-icon_is_rendered #1122

Merged
merged 2 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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