mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Feature: option for auto-remove inbox tags on save (#5562)
This commit is contained in:
parent
9e6aa55230
commit
c62d892969
11 changed files with 196 additions and 35 deletions
|
|
@ -630,7 +630,9 @@ export class DocumentDetailComponent
|
|||
.update(this.document)
|
||||
.pipe(first())
|
||||
.subscribe({
|
||||
next: () => {
|
||||
next: (docValues) => {
|
||||
// in case data changed while saving eg removing inbox_tags
|
||||
this.documentForm.patchValue(docValues)
|
||||
this.store.next(this.documentForm.value)
|
||||
this.toastService.showInfo($localize`Document saved successfully.`)
|
||||
close && this.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue