mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-21 04:52:40 +00:00
Move list reload after network action completes
This commit is contained in:
1 parent
7e36986a26
commit
507085ee7b
1 file changed
+2
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user