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 class="pf-c-table__expandable-row ${this.expandedRows[idx] ? "pf-m-expanded" : ""}" role="row">
|
||||
<td></td>
|
||||
${this.renderExpanded(item)}
|
||||
${this.expandedRows[idx] ? this.renderExpanded(item) : html``}
|
||||
</tr>
|
||||
</tbody>`;
|
||||
});
|
||||
|
|
Reference in New Issue