File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -265,19 +265,15 @@ class DialogAreaDetail extends LitElement {
265265 ${ this . hass . localize ( "ui.common.delete" ) }
266266 </ ha- butto n> `
267267 : nothing }
268- <div slot= "primaryAction" >
269- <ha- butto n appearance= "plain" @click = ${ this . closeDialog } >
270- ${ this . hass . localize ( "ui.common.cancel" ) }
271- </ ha- butto n>
272- <ha- butto n
273- @click = ${ this . _updateEntry }
274- .disabled = ${ nameInvalid || ! ! this . _submitting }
275- >
276- ${ entry
277- ? this . hass . localize ( "ui.common.save" )
278- : this . hass . localize ( "ui.common.create" ) }
279- </ ha- butto n>
280- </ div>
268+ <ha- butto n
269+ slot= "primaryAction"
270+ @click = ${ this . _updateEntry }
271+ .disabled = ${ nameInvalid || ! ! this . _submitting }
272+ >
273+ ${ entry
274+ ? this . hass . localize ( "ui.common.save" )
275+ : this . hass . localize ( "ui.common.create" ) }
276+ </ ha- butto n>
281277 </ ha- dialog>
282278 ` ;
283279 }
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class DialogCategoryDetail extends LitElement {
9898 </ div>
9999 <ha- butto n
100100 appearance= "plain"
101- slot = "primaryAction "
101+ slot = "secondaryAction "
102102 @click = ${ this . closeDialog }
103103 >
104104 ${ this . hass . localize ( "ui.common.cancel" ) }
You can’t perform that action at this time.
0 commit comments