mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
Handle service description might be undefined (#27606)
This commit is contained in:
@@ -407,7 +407,9 @@ class DialogAddAutomationElement
|
||||
description:
|
||||
this.hass.localize(
|
||||
`component.${dmn}.services.${service}.description`
|
||||
) || services[dmn][service]?.description,
|
||||
) ||
|
||||
services[dmn][service]?.description ||
|
||||
"",
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user