mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-01 04:06:16 -05:00 
			
		
		
		
	proper navigation when saving documents
This commit is contained in:
		| @@ -167,7 +167,11 @@ export class DocumentDetailComponent implements OnInit { | ||||
|  | ||||
|   close() { | ||||
|     this.openDocumentService.closeDocument(this.document) | ||||
|     this.router.navigate(['documents']) | ||||
|     if (this.documentListViewService.viewConfig) { | ||||
|       this.router.navigate(['view', this.documentListViewService.viewConfig.id]) | ||||
|     } else { | ||||
|       this.router.navigate(['documents']) | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   delete() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jonas Winkler
					Jonas Winkler