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

This commit is contained in:
shamoon authored and GitHub committed 2024-03-01 12:00:54 -08:00
1 parent 464ee51de8
commit a020d807d4
2 files changed
+3 -1

No files matched your search

@@ -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)