Fix clearing of filters (#20288)

* Fix clearing of filters

* Update ha-filter-integrations.ts

* Update ha-filter-integrations.ts
This commit is contained in:
Bram Kragten
2024-03-30 15:32:34 +01:00
committed by GitHub
parent f3ba6e7996
commit 503a7979d0
5 changed files with 66 additions and 45 deletions

View File

@@ -50,7 +50,7 @@ export class HaFilterBlueprints extends LitElement {
? nothing
: html`<ha-check-list-item
.value=${id}
.selected=${this.value?.includes(id)}
.selected=${(this.value || []).includes(id)}
>
${blueprint.metadata.name || id}
</ha-check-list-item>`