web: lazy-render expanded table
This commit is contained in:
parent
0e1587bc1a
commit
5db38bd0b7
|
@ -178,7 +178,7 @@ export abstract class Table<T> extends LitElement {
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="pf-c-table__expandable-row ${this.expandedRows[idx] ? "pf-m-expanded" : ""}" role="row">
|
<tr class="pf-c-table__expandable-row ${this.expandedRows[idx] ? "pf-m-expanded" : ""}" role="row">
|
||||||
<td></td>
|
<td></td>
|
||||||
${this.renderExpanded(item)}
|
${this.expandedRows[idx] ? this.renderExpanded(item) : html``}
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>`;
|
</tbody>`;
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue