mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
fix edit dialog creation d/t success emitter was renamed
This commit is contained in:
parent
f4e5023d22
commit
2bc208cd6e
4 changed files with 8 additions and 8 deletions
|
|
@ -284,7 +284,7 @@ export class DocumentDetailComponent
|
|||
})
|
||||
modal.componentInstance.dialogMode = 'create'
|
||||
if (newName) modal.componentInstance.object = { name: newName }
|
||||
modal.componentInstance.success
|
||||
modal.componentInstance.succeeded
|
||||
.pipe(
|
||||
switchMap((newDocumentType) => {
|
||||
return this.documentTypeService
|
||||
|
|
@ -305,7 +305,7 @@ export class DocumentDetailComponent
|
|||
})
|
||||
modal.componentInstance.dialogMode = 'create'
|
||||
if (newName) modal.componentInstance.object = { name: newName }
|
||||
modal.componentInstance.success
|
||||
modal.componentInstance.succeeded
|
||||
.pipe(
|
||||
switchMap((newCorrespondent) => {
|
||||
return this.correspondentService
|
||||
|
|
@ -328,7 +328,7 @@ export class DocumentDetailComponent
|
|||
})
|
||||
modal.componentInstance.dialogMode = 'create'
|
||||
if (newName) modal.componentInstance.object = { name: newName }
|
||||
modal.componentInstance.success
|
||||
modal.componentInstance.succeeded
|
||||
.pipe(
|
||||
switchMap((newStoragePath) => {
|
||||
return this.storagePathService
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue