mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	fix doc detail discard perm changes
This commit is contained in:
		| @@ -446,6 +446,10 @@ export class DocumentDetailComponent | ||||
|       .subscribe({ | ||||
|         next: (doc) => { | ||||
|           Object.assign(this.document, doc) | ||||
|           doc['permissions_form'] = { | ||||
|             owner: doc.owner, | ||||
|             set_permissions: doc.permissions, | ||||
|           } | ||||
|           this.title = doc.title | ||||
|           this.documentForm.patchValue(doc) | ||||
|           this.openDocumentService.setDirty(doc, false) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon