File tree Expand file tree Collapse file tree 2 files changed +23
-33
lines changed
test/unit/editors/substation/__snapshots__ Expand file tree Collapse file tree 2 files changed +23
-33
lines changed Original file line number Diff line number Diff line change @@ -169,21 +169,19 @@ export class GeneralEquipmentEditor extends LitElement {
169
169
</ action- pane> ` ;
170
170
171
171
return html `<action- icon label= ${ this . header } >
172
- <abbr slot= "action" title = "${ translate ( 'edit' ) } ">
173
- <mwc- fab
172
+ <mwc- icon slot= "icon" > ${ generalConductingEquipmentIcon } </ mwc- icon>
173
+ <mwc- fab
174
+ slot= "action"
174
175
mini
175
- icon= "edit"
176
- @click = ${ ( ) => this . openEditWizard ( ) }
177
- > </ mwc- fab
178
- </ abbr>
179
- <abbr slot= "action" title = "${ translate ( 'remove' ) } ">
180
- <mwc- fab
176
+ icon = "edit"
177
+ @click = "${ ( ) => this . openEditWizard ( ) } }"
178
+ > </ mwc- fab>
179
+ <mwc- fab
180
+ slot= "action"
181
181
mini
182
- icon= "delete"
183
- @click = ${ ( ) => this . remove ( ) }
184
- > </ mwc- fab>
185
- </ abbr>
186
- <mwc- icon slot= "icon" > ${ generalConductingEquipmentIcon } </ mwc- icon>
182
+ icon = "delete"
183
+ @click = "${ ( ) => this . remove ( ) } }"
184
+ > </ mwc- fab>
187
185
</ action- icon> ` ;
188
186
}
189
187
Original file line number Diff line number Diff line change @@ -6,28 +6,20 @@ snapshots["Editor web component for GeneralEquipment SCL element rendered as act
6
6
label="genSub"
7
7
tabindex="0"
8
8
>
9
- <abbr
9
+ <mwc-icon slot="icon">
10
+ </mwc-icon>
11
+ <mwc-fab
12
+ icon="edit"
13
+ mini=""
10
14
slot="action"
11
- title="[edit]"
12
15
>
13
- <mwc-fab
14
- icon="edit"
15
- mini=""
16
- >
17
- </mwc-fab>
18
- <abbr
19
- slot="action"
20
- title="[remove]"
21
- >
22
- <mwc-fab
23
- icon="delete"
24
- mini=""
25
- >
26
- </mwc-fab>
27
- </abbr>
28
- <mwc-icon slot="icon">
29
- </mwc-icon>
30
- </abbr>
16
+ </mwc-fab>
17
+ <mwc-fab
18
+ icon="delete"
19
+ mini=""
20
+ slot="action"
21
+ >
22
+ </mwc-fab>
31
23
</action-icon>
32
24
` ;
33
25
/* end snapshot Editor web component for GeneralEquipment SCL element rendered as action icon looks like the latest snapshot */
You can’t perform that action at this time.
0 commit comments