From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 11 Oct 2022 19:23:15 +0000 (-0700) Subject: Fix new storagepaths not showing in doc detail X-Git-Tag: v1.10.0-beta.rc1~1^2~57^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1777%2Fhead;p=thirdparty%2Fpaperless-ngx.git Fix new storagepaths not showing in doc detail --- diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts index ff0a5303bb..3a26c17f73 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.ts +++ b/src-ui/src/app/components/document-detail/document-detail.component.ts @@ -337,7 +337,7 @@ export class DocumentDetailComponent }) ) .pipe(takeUntil(this.unsubscribeNotifier)) - .subscribe(({ newStoragePath, documentTypes: storagePaths }) => { + .subscribe(({ newStoragePath, storagePaths }) => { this.storagePaths = storagePaths.results this.documentForm.get('storage_path').setValue(newStoragePath.id) })