mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
Prevent computeDomain()
call if no entity selected (#10166)
This commit is contained in:
parent
ec21f4c2c6
commit
b226b20e3d
@ -63,7 +63,7 @@ export class HuiGenericEntityRowEditor
|
|||||||
return html``;
|
return html``;
|
||||||
}
|
}
|
||||||
|
|
||||||
const domain = computeDomain(this._config.entity);
|
const domain = computeDomain(this._entity);
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<div class="card-config">
|
<div class="card-config">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user