mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Give todo and calendar edit static header (#19233)
This commit is contained in:
parent
8d496e1511
commit
de3b9a5bb2
@ -144,9 +144,9 @@ class DialogCalendarEventEditor extends LitElement {
|
|||||||
escapeKeyAction
|
escapeKeyAction
|
||||||
.heading=${createCloseHeading(
|
.heading=${createCloseHeading(
|
||||||
this.hass,
|
this.hass,
|
||||||
isCreate
|
this.hass.localize(
|
||||||
? this.hass.localize("ui.components.calendar.event.add")
|
`ui.components.calendar.event.${isCreate ? "add" : "edit"}`
|
||||||
: this._summary
|
)
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
@ -101,9 +101,9 @@ class DialogTodoItemEditor extends LitElement {
|
|||||||
scrimClickAction
|
scrimClickAction
|
||||||
.heading=${createCloseHeading(
|
.heading=${createCloseHeading(
|
||||||
this.hass,
|
this.hass,
|
||||||
isCreate
|
this.hass.localize(
|
||||||
? this.hass.localize("ui.components.todo.item.add")
|
`ui.components.todo.item.${isCreate ? "add" : "edit"}`
|
||||||
: this._summary
|
)
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user