API mail rule & account tests

and fix use of assign_tags
This commit is contained in:
Michael Shamoon committed 2022-12-03 09:31:23 -08:00
1 parent 2849414445
commit 8c4f486fe9
3 files changed
+454 -5

No files matched your search

@@ -76,7 +76,7 @@ export class MailRuleEditDialogComponent extends EditDialogComponent<PaperlessMa
action: new FormControl(MailAction.MarkRead),
action_parameter: new FormControl(null),
assign_title_from: new FormControl(MailMetadataTitleOption.FromSubject),
assign_tags: new FormControl(null),
assign_tags: new FormControl([]),
assign_document_type: new FormControl(null),
assign_correspondent_from: new FormControl(
MailMetadataCorrespondentOption.FromNothing