Skip to content

Commit

Permalink
fix(../substation/general-equipment-editor.ts):adapted_buttons_rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvanraalte committed Jan 9, 2023
1 parent 48af279 commit 3b4945e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
2 changes: 0 additions & 2 deletions src/editors/substation/general-equipment-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,12 @@ export class GeneralEquipmentEditor extends LitElement {

return html`<action-icon label=${this.header}>
<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 slot="action" title="${translate('remove')}" />
<mwc-fab
slot="action"
mini
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,18 @@ snapshots["Editor web component for GeneralEquipment SCL element rendered as act
>
<mwc-icon slot="icon">
</mwc-icon>
<abbr
<mwc-fab
icon="edit"
mini=""
slot="action"
title="[edit]"
>
<mwc-fab
icon="edit"
mini=""
slot="action"
>
</mwc-fab>
<abbr
slot="action"
title="[remove]"
>
<mwc-fab
icon="delete"
mini=""
slot="action"
>
</mwc-fab>
</abbr>
</abbr>
</mwc-fab>
<mwc-fab
icon="delete"
mini=""
slot="action"
>
</mwc-fab>
</action-icon>
`;
/* end snapshot Editor web component for GeneralEquipment SCL element rendered as action icon looks like the latest snapshot */
Expand Down

1 comment on commit 3b4945e

@marcvanraalte
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed and , rendering is handled similarly to the lines 197-... in ../substation/conducting-equipment-editor.ts

Please sign in to comment.