mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-26 06:17:20 +00:00
Add missing icon to ZHA device remove action (#13489)
This commit is contained in:
parent
a3d80f1280
commit
0038f54cea
@ -1,5 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
mdiCogRefresh,
|
mdiCogRefresh,
|
||||||
|
mdiDelete,
|
||||||
mdiDrawPen,
|
mdiDrawPen,
|
||||||
mdiFamilyTree,
|
mdiFamilyTree,
|
||||||
mdiFileTree,
|
mdiFileTree,
|
||||||
@ -95,6 +96,7 @@ export const getZHADeviceActions = async (
|
|||||||
if (!zhaDevice.active_coordinator) {
|
if (!zhaDevice.active_coordinator) {
|
||||||
actions.push({
|
actions.push({
|
||||||
label: hass.localize("ui.dialogs.zha_device_info.buttons.remove"),
|
label: hass.localize("ui.dialogs.zha_device_info.buttons.remove"),
|
||||||
|
icon: mdiDelete,
|
||||||
classes: "warning",
|
classes: "warning",
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const confirmed = await showConfirmationDialog(el, {
|
const confirmed = await showConfirmationDialog(el, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user