fix selection check (#4488)

This commit is contained in:
David F. Mulcahey 2020-01-16 12:19:01 -05:00 committed by Bram Kragten
parent e3346483b9
commit 68d6faf4af

View File

@ -255,7 +255,9 @@ export class HaDataTable extends BaseElement {
<ha-checkbox
class="mdc-data-table__row-checkbox"
@change=${this._handleRowCheckboxChange}
.checked=${this._checkedRows.includes(row[this.id])}
.checked=${this._checkedRows.includes(
String(row[this.id])
)}
>
</ha-checkbox>
</td>