API mail rule & account tests

and fix use of assign_tags
This commit is contained in:
Michael Shamoon
2022-11-18 14:22:07 -08:00
parent 2849414445
commit 8c4f486fe9
3 changed files with 454 additions and 5 deletions

View File

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