From 7b43777b225ffc478974a9f2200c67f32b029845 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 28 Dec 2020 14:04:03 +0100 Subject: [PATCH] web: reset expanded rows on fetch --- web/src/elements/table/Table.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/elements/table/Table.ts b/web/src/elements/table/Table.ts index 379073692..690baf139 100644 --- a/web/src/elements/table/Table.ts +++ b/web/src/elements/table/Table.ts @@ -115,6 +115,7 @@ export abstract class Table extends LitElement { this.apiEndpoint(this.page).then((r) => { this.data = r; this.page = r.pagination.current; + this.expandedRows = []; }); }