From d7196cfd3a12b120803cd207466d6a3110a56bd5 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 26 Oct 2020 17:47:03 +0000 Subject: [PATCH] Linting. --- .../SetupPanel/AutomationBlockSetup.svelte | 2 +- .../automation/SetupPanel/SetupPanel.svelte | 4 +++- .../automation/Shared/CreateWebhookModal.svelte | 14 ++++++++++---- .../deploy/CreateWebhookDeploymentModal.svelte | 14 +++++++------- .../src/components/deploy/DeploymentHistory.svelte | 4 +--- 5 files changed, 22 insertions(+), 16 deletions(-) diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index a7d1931f1f..3d7150eb7a 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -78,7 +78,7 @@ {/if} {/each} - {#if stepId === "WEBHOOK"} + {#if stepId === 'WEBHOOK'} diff --git a/packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte b/packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte index 03cbbab31c..3f21799762 100644 --- a/packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte +++ b/packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte @@ -62,7 +62,9 @@
{#if $automationStore.selectedBlock} - + {:else if $automationStore.selectedAutomation}
Automation {automation.name}
diff --git a/packages/builder/src/components/automation/Shared/CreateWebhookModal.svelte b/packages/builder/src/components/automation/Shared/CreateWebhookModal.svelte index 29ee52c7e5..246c313819 100644 --- a/packages/builder/src/components/automation/Shared/CreateWebhookModal.svelte +++ b/packages/builder/src/components/automation/Shared/CreateWebhookModal.svelte @@ -48,13 +48,19 @@ cancelText="Skip">

Webhooks are for receiving data. To make them easier please use the URL - shown below and send a POST request to it from your other application. - If you're unable to do this now then you can skip this step, however we - will not be able to configure bindings for your later actions! + shown below and send a + POST + request to it from your other application. If you're unable to do this now + then you can skip this step, however we will not be able to configure + bindings for your later actions!

{#if finished} -

Request received! We found {propCount} bindable value{propCount > 1 ? "s" : ""}.

+

+ Request received! We found + {propCount} + bindable value{propCount > 1 ? 's' : ''}. +

{/if}
diff --git a/packages/builder/src/components/deploy/CreateWebhookDeploymentModal.svelte b/packages/builder/src/components/deploy/CreateWebhookDeploymentModal.svelte index 05ea6c9754..556868fe59 100644 --- a/packages/builder/src/components/deploy/CreateWebhookDeploymentModal.svelte +++ b/packages/builder/src/components/deploy/CreateWebhookDeploymentModal.svelte @@ -13,18 +13,18 @@ webhookUrls = automations.map(automation => { const trigger = automation.definition.trigger if (trigger?.stepId === "WEBHOOK" && trigger.inputs) { - return {type: "Automation", name: automation.name, url: trigger.inputs.triggerUrl} + return { + type: "Automation", + name: automation.name, + url: trigger.inputs.triggerUrl, + } } }) }) - -

- See below the list of deployed webhook URLs. -

+ +

See below the list of deployed webhook URLs.

{#each webhookUrls as webhookUrl}