mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 00:27:49 +01:00
Fix target item loading error (#51326)
This commit is contained in:
@@ -2051,7 +2051,8 @@ class DialogAddAutomationElement
|
||||
this.hass.localize,
|
||||
items,
|
||||
getTriggerDomain,
|
||||
this._getTriggerListItem
|
||||
(localize, domain, trigger) =>
|
||||
this._getTriggerListItem(localize, domain, trigger)
|
||||
);
|
||||
if (this._selectedTarget.entity_id) {
|
||||
grouped.push({
|
||||
@@ -2074,7 +2075,8 @@ class DialogAddAutomationElement
|
||||
this.hass.localize,
|
||||
items,
|
||||
getConditionDomain,
|
||||
this._getConditionListItem
|
||||
(localize, domain, condition) =>
|
||||
this._getConditionListItem(localize, domain, condition)
|
||||
);
|
||||
if (this._selectedTarget.entity_id) {
|
||||
grouped.push({
|
||||
|
||||
Reference in New Issue
Block a user