web: reset expanded rows on fetch

This commit is contained in:
Jens Langhammer 2020-12-28 14:04:03 +01:00
parent 77861b52e3
commit 7b43777b22
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ export abstract class Table<T> extends LitElement {
this.apiEndpoint(this.page).then((r) => {
this.data = r;
this.page = r.pagination.current;
this.expandedRows = [];
});
}