fix edit dialog creation d/t success emitter was renamed

This commit is contained in:
Michael Shamoon
2022-12-30 07:33:45 -08:00
parent f4e5023d22
commit 2bc208cd6e
4 changed files with 8 additions and 8 deletions

View File

@@ -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