mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 10:26:35 +00:00
Fix object selector not displayed (#26007)
This commit is contained in:
parent
49099223d3
commit
948c858e78
@ -122,11 +122,7 @@ export class HaObjectSelector extends LitElement {
|
||||
}
|
||||
|
||||
protected render() {
|
||||
if (!this.selector.object) {
|
||||
return nothing;
|
||||
}
|
||||
|
||||
if (this.selector.object.fields) {
|
||||
if (this.selector.object?.fields) {
|
||||
if (this.selector.object.multiple) {
|
||||
const items = ensureArray(this.value ?? []);
|
||||
return html`
|
||||
|
Loading…
x
Reference in New Issue
Block a user