mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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
|
||||
.heading=${createCloseHeading(
|
||||
this.hass,
|
||||
isCreate
|
||||
? this.hass.localize("ui.components.calendar.event.add")
|
||||
: this._summary
|
||||
this.hass.localize(
|
||||
`ui.components.calendar.event.${isCreate ? "add" : "edit"}`
|
||||
)
|
||||
)}
|
||||
>
|
||||
<div class="content">
|
||||
|
@ -101,9 +101,9 @@ class DialogTodoItemEditor extends LitElement {
|
||||
scrimClickAction
|
||||
.heading=${createCloseHeading(
|
||||
this.hass,
|
||||
isCreate
|
||||
? this.hass.localize("ui.components.todo.item.add")
|
||||
: this._summary
|
||||
this.hass.localize(
|
||||
`ui.components.todo.item.${isCreate ? "add" : "edit"}`
|
||||
)
|
||||
)}
|
||||
>
|
||||
<div class="content">
|
||||
|
Loading…
x
Reference in New Issue
Block a user