mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-11 11: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() {
|
protected render() {
|
||||||
if (!this.selector.object) {
|
if (this.selector.object?.fields) {
|
||||||
return nothing;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.selector.object.fields) {
|
|
||||||
if (this.selector.object.multiple) {
|
if (this.selector.object.multiple) {
|
||||||
const items = ensureArray(this.value ?? []);
|
const items = ensureArray(this.value ?? []);
|
||||||
return html`
|
return html`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user