]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix new storagepaths not showing in doc detail 1777/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Tue, 11 Oct 2022 19:23:15 +0000 (12:23 -0700)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Tue, 11 Oct 2022 19:23:15 +0000 (12:23 -0700)
src-ui/src/app/components/document-detail/document-detail.component.ts

index ff0a5303bbd8dec5ac092b502b0606730fbd3b04..3a26c17f733f2740d8106936762d9a15ad9d9a11 100644 (file)
@@ -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)
       })