aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/rest/rest-table.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/shared/rest/rest-table.ts b/client/src/app/shared/rest/rest-table.ts
index 891fb7b2b..4dd0f5ff3 100644
--- a/client/src/app/shared/rest/rest-table.ts
+++ b/client/src/app/shared/rest/rest-table.ts
@@ -13,6 +13,7 @@ export abstract class RestTable {
13 search: string 13 search: string
14 rowsPerPageOptions = [ 10, 20, 50, 100 ] 14 rowsPerPageOptions = [ 10, 20, 50, 100 ]
15 rowsPerPage = this.rowsPerPageOptions[0] 15 rowsPerPage = this.rowsPerPageOptions[0]
16 expandedRows = {}
16 17
17 private searchStream: Subject<string> 18 private searchStream: Subject<string>
18 19
@@ -73,6 +74,10 @@ export abstract class RestTable {
73 this.searchStream.next(target.value) 74 this.searchStream.next(target.value)
74 } 75 }
75 76
77 onPage () {
78 this.expandedRows = {}
79 }
80
76 protected abstract loadData (): void 81 protected abstract loadData (): void
77 82
78 private getSortLocalStorageKey () { 83 private getSortLocalStorageKey () {