mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
Merge branch 'dev' into feature-permissions
This commit is contained in:
commit
a08467342c
49 changed files with 2587 additions and 1172 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue