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 c6a6b4f645
commit ac447b4baf
4 changed files with 8 additions and 8 deletions

View File

@@ -120,7 +120,7 @@ export abstract class ManagementListComponent<T extends ObjectWithId>
backdrop: 'static',
})
activeModal.componentInstance.dialogMode = 'create'
activeModal.componentInstance.success.subscribe({
activeModal.componentInstance.succeeded.subscribe({
next: () => {
this.reloadData()
this.toastService.showInfo(
@@ -143,7 +143,7 @@ export abstract class ManagementListComponent<T extends ObjectWithId>
})
activeModal.componentInstance.object = object
activeModal.componentInstance.dialogMode = 'edit'
activeModal.componentInstance.success.subscribe({
activeModal.componentInstance.succeeded.subscribe({
next: () => {
this.reloadData()
this.toastService.showInfo(