From 5db38bd0b79a10bed13221b16d4fbc3a8c64e407 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 28 Dec 2020 13:07:20 +0100 Subject: [PATCH] web: lazy-render expanded table --- web/src/elements/table/Table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/elements/table/Table.ts b/web/src/elements/table/Table.ts index b9e38984e..0cf75ed82 100644 --- a/web/src/elements/table/Table.ts +++ b/web/src/elements/table/Table.ts @@ -178,7 +178,7 @@ export abstract class Table extends LitElement { - ${this.renderExpanded(item)} + ${this.expandedRows[idx] ? this.renderExpanded(item) : html``} `; });