mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 13:57:21 +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``;
|
||||
}
|
||||
|
||||
const domain = computeDomain(this._config.entity);
|
||||
const domain = computeDomain(this._entity);
|
||||
|
||||
return html`
|
||||
<div class="card-config">
|
||||
|
Loading…
x
Reference in New Issue
Block a user