From 507085ee7b8cba546704b10a8a72366032cc7061 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+nikonratm@users.noreply.github.com> Date: Wed, 6 Jan 2021 07:30:53 -0800 Subject: [PATCH] Move list reload after network action completes --- .../app/components/document-list/document-list.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-ui/src/app/components/document-list/document-list.component.ts b/src-ui/src/app/components/document-list/document-list.component.ts index 685d40a44..a79c497fe 100644 --- a/src-ui/src/app/components/document-list/document-list.component.ts +++ b/src-ui/src/app/components/document-list/document-list.component.ts @@ -108,11 +108,12 @@ export class DocumentListComponent implements OnInit { if (this.list.savedViewId) { this.savedViewService.getCached(this.list.savedViewId).subscribe(viewUntouched => { this.list.filterRules = viewUntouched.filter_rules + this.list.reload() }) } else { this.list.filterRules = [] + this.list.reload() } - this.list.reload() } get filterRulesModified(): boolean {