mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Merge pull request #1777 from paperless-ngx/fix/issue-1776
Fix: creating new storage path on document edit fails to update menu
This commit is contained in:
		| @@ -337,7 +337,7 @@ export class DocumentDetailComponent | |||||||
|         }) |         }) | ||||||
|       ) |       ) | ||||||
|       .pipe(takeUntil(this.unsubscribeNotifier)) |       .pipe(takeUntil(this.unsubscribeNotifier)) | ||||||
|       .subscribe(({ newStoragePath, documentTypes: storagePaths }) => { |       .subscribe(({ newStoragePath, storagePaths }) => { | ||||||
|         this.storagePaths = storagePaths.results |         this.storagePaths = storagePaths.results | ||||||
|         this.documentForm.get('storage_path').setValue(newStoragePath.id) |         this.documentForm.get('storage_path').setValue(newStoragePath.id) | ||||||
|       }) |       }) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon