From 8311313e6e23b0eac1e97773d5834eae7b17040b Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 25 Jan 2025 13:28:08 -0800 Subject: [PATCH] Nit: use camelCase --- .../mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts | 2 +- src-ui/src/app/data/mail-rule.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, }