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(

View File

@@ -546,7 +546,7 @@ export class SettingsComponent
})
modal.componentInstance.dialogMode = account ? 'edit' : 'create'
modal.componentInstance.object = account
modal.componentInstance.success
modal.componentInstance.succeeded
.pipe(takeUntil(this.unsubscribeNotifier))
.subscribe({
next: (newMailAccount) => {
@@ -604,7 +604,7 @@ export class SettingsComponent
})
modal.componentInstance.dialogMode = rule ? 'edit' : 'create'
modal.componentInstance.object = rule
modal.componentInstance.success
modal.componentInstance.succeeded
.pipe(takeUntil(this.unsubscribeNotifier))
.subscribe({
next: (newMailRule) => {