]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Nit: use camelCase
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sat, 25 Jan 2025 21:28:08 +0000 (13:28 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Sat, 25 Jan 2025 21:28:08 +0000 (13:28 -0800)
src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts
src-ui/src/app/data/mail-rule.ts

index 1e1116620c79c46ebd3c32a6b5906f756fadde37..f2d8236bc22995323e25ce4653c9efb45e8b5cc2 100644 (file)
@@ -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`,
   },
   {
index 7888b19e62a70f5b1f893d51f12b6f530b86fb3c..6e2c468a2d2400a0555b730d116c8fd05eeb0f2a 100644 (file)
@@ -7,7 +7,7 @@ export enum MailFilterAttachmentType {
 
 export enum MailRuleConsumptionScope {
   Attachments = 1,
-  Email_Only = 2,
+  EmailOnly = 2,
   Everything = 3,
 }