From a31cce0ff9f1e06f5234d6b9f32740119fd83717 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 14 Jul 2021 13:18:27 +0100 Subject: [PATCH] Linting. --- .../builder/portal/manage/email/[template].svelte | 4 ++-- .../builder/portal/manage/email/index.svelte | 2 +- packages/worker/src/constants/index.js | 15 ++++++++++----- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/manage/email/[template].svelte b/packages/builder/src/pages/builder/portal/manage/email/[template].svelte index 41e682eb7c..60ff3d6110 100644 --- a/packages/builder/src/pages/builder/portal/manage/email/[template].svelte +++ b/packages/builder/src/pages/builder/portal/manage/email/[template].svelte @@ -91,8 +91,8 @@ Description {description} Change the email template here. Add dynamic content by using the bindings - menu on the right.Change the email template here. Add dynamic content by using the bindings + menu on the right. diff --git a/packages/builder/src/pages/builder/portal/manage/email/index.svelte b/packages/builder/src/pages/builder/portal/manage/email/index.svelte index 250e4d9375..4a2b21b691 100644 --- a/packages/builder/src/pages/builder/portal/manage/email/index.svelte +++ b/packages/builder/src/pages/builder/portal/manage/email/index.svelte @@ -29,7 +29,7 @@ category: { displayName: "Category", editable: false, - } + }, } $: emailInfo = getEmailInfo($email.definitions) diff --git a/packages/worker/src/constants/index.js b/packages/worker/src/constants/index.js index efb832ee1a..f18b94c794 100644 --- a/packages/worker/src/constants/index.js +++ b/packages/worker/src/constants/index.js @@ -97,7 +97,8 @@ const TemplateMetadata = { [TemplateTypes.EMAIL]: [ { name: "Base format", - description: "This is the base template, all others are based on it. The {{ body }} will be replaced with another email template.", + description: + "This is the base template, all others are based on it. The {{ body }} will be replaced with another email template.", category: "miscellaneous", purpose: EmailTemplatePurpose.BASE, bindings: [ @@ -113,7 +114,8 @@ const TemplateMetadata = { }, { name: "Password recovery", - description: "When a user requests a password reset, this template will be used.", + description: + "When a user requests a password reset, this template will be used.", category: "user management", purpose: EmailTemplatePurpose.PASSWORD_RECOVERY, bindings: [ @@ -131,14 +133,16 @@ const TemplateMetadata = { }, { name: "User welcome", - description: "When a new user is added to the system, the welcome email will use this template.", + description: + "When a new user is added to the system, the welcome email will use this template.", category: "user management", purpose: EmailTemplatePurpose.WELCOME, bindings: [], }, { name: "User invitation", - description: "When using the email invitation system, this template will be used.", + description: + "When using the email invitation system, this template will be used.", category: "user management", purpose: EmailTemplatePurpose.INVITATION, bindings: [ @@ -156,7 +160,8 @@ const TemplateMetadata = { }, { name: "Custom", - description: "A custom format, this is currently used for SMTP email actions in automations.", + description: + "A custom format, this is currently used for SMTP email actions in automations.", category: "automations", purpose: EmailTemplatePurpose.CUSTOM, bindings: [