mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Move list reload after network action completes
This commit is contained in:
		| @@ -108,11 +108,12 @@ export class DocumentListComponent implements OnInit { | |||||||
|     if (this.list.savedViewId) { |     if (this.list.savedViewId) { | ||||||
|       this.savedViewService.getCached(this.list.savedViewId).subscribe(viewUntouched => { |       this.savedViewService.getCached(this.list.savedViewId).subscribe(viewUntouched => { | ||||||
|         this.list.filterRules = viewUntouched.filter_rules |         this.list.filterRules = viewUntouched.filter_rules | ||||||
|  |         this.list.reload() | ||||||
|       }) |       }) | ||||||
|     } else { |     } else { | ||||||
|       this.list.filterRules = [] |       this.list.filterRules = [] | ||||||
|  |       this.list.reload() | ||||||
|     } |     } | ||||||
|     this.list.reload() |  | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   get filterRulesModified(): boolean { |   get filterRulesModified(): boolean { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon