mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Merge branch 'dev' into feature-permissions
This commit is contained in:
@@ -131,7 +131,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(
|
||||
@@ -154,7 +154,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(
|
||||
|
@@ -734,7 +734,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) => {
|
||||
@@ -792,7 +792,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) => {
|
||||
|
Reference in New Issue
Block a user