mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 13:07:49 +00:00
fix selection check (#4488)
This commit is contained in:
parent
e3346483b9
commit
68d6faf4af
@ -255,7 +255,9 @@ export class HaDataTable extends BaseElement {
|
|||||||
<ha-checkbox
|
<ha-checkbox
|
||||||
class="mdc-data-table__row-checkbox"
|
class="mdc-data-table__row-checkbox"
|
||||||
@change=${this._handleRowCheckboxChange}
|
@change=${this._handleRowCheckboxChange}
|
||||||
.checked=${this._checkedRows.includes(row[this.id])}
|
.checked=${this._checkedRows.includes(
|
||||||
|
String(row[this.id])
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
</ha-checkbox>
|
</ha-checkbox>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user