Fix: always pass remove_inbox_tags from UI, dont require in API (#5962)

This commit is contained in:
shamoon
2024-03-01 12:00:54 -08:00
committed by GitHub
parent d598618403
commit 2f22e99b4a
2 changed files with 3 additions and 1 deletions

View File

@@ -183,7 +183,7 @@ export class DocumentService extends AbstractPaperlessService<Document> {
update(o: Document): Observable<Document> {
// we want to only set created_date
o.created = undefined
o.remove_inbox_tags = this.settingsService.get(
o.remove_inbox_tags = !!this.settingsService.get(
SETTINGS_KEYS.DOCUMENT_EDITING_REMOVE_INBOX_TAGS
)
return super.update(o)