web: reset expanded rows on fetch
This commit is contained in:
parent
77861b52e3
commit
7b43777b22
|
@ -115,6 +115,7 @@ export abstract class Table<T> extends LitElement {
|
||||||
this.apiEndpoint(this.page).then((r) => {
|
this.apiEndpoint(this.page).then((r) => {
|
||||||
this.data = r;
|
this.data = r;
|
||||||
this.page = r.pagination.current;
|
this.page = r.pagination.current;
|
||||||
|
this.expandedRows = [];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue