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
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue