diff --git a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts index 1e1116620..f2d8236bc 100644 --- a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts +++ b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts @@ -49,7 +49,7 @@ const CONSUMPTION_SCOPE_OPTIONS = [ name: $localize`Only process attachments`, }, { - id: MailRuleConsumptionScope.Email_Only, + id: MailRuleConsumptionScope.EmailOnly, name: $localize`Process message as .eml`, }, { diff --git a/src-ui/src/app/data/mail-rule.ts b/src-ui/src/app/data/mail-rule.ts index 7888b19e6..6e2c468a2 100644 --- a/src-ui/src/app/data/mail-rule.ts +++ b/src-ui/src/app/data/mail-rule.ts @@ -7,7 +7,7 @@ export enum MailFilterAttachmentType { export enum MailRuleConsumptionScope { Attachments = 1, - Email_Only = 2, + EmailOnly = 2, Everything = 3, }