mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
parent
336b5fb547
commit
8c9996fc81
@ -364,6 +364,9 @@ class DialogTodoItemEditor extends LitElement {
|
|||||||
"ui.components.todo.item.confirm_delete.delete"
|
"ui.components.todo.item.confirm_delete.delete"
|
||||||
),
|
),
|
||||||
text: this.hass.localize("ui.components.todo.item.confirm_delete.prompt"),
|
text: this.hass.localize("ui.components.todo.item.confirm_delete.prompt"),
|
||||||
|
destructive: true,
|
||||||
|
confirmText: this.hass.localize("ui.common.delete"),
|
||||||
|
dismissText: this.hass.localize("ui.common.cancel"),
|
||||||
});
|
});
|
||||||
if (!confirm) {
|
if (!confirm) {
|
||||||
// Cancel
|
// Cancel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user