diff --git a/packages/builder/src/builderStore/store/automation/index.js b/packages/builder/src/builderStore/store/automation/index.js index b6a194199..3f0743aa1 100644 --- a/packages/builder/src/builderStore/store/automation/index.js +++ b/packages/builder/src/builderStore/store/automation/index.js @@ -20,7 +20,9 @@ const automationActions = store => ({ } // if previously selected find the new obj and select it if (selected) { - selected = jsonResponses[0].filter(automation => automation._id === selected._id) + selected = jsonResponses[0].filter( + automation => automation._id === selected._id + ) state.selectedAutomation = new Automation(selected[0]) } return state diff --git a/packages/builder/src/components/automation/AutomationPanel/BlockList/CreateWebhookModal.svelte b/packages/builder/src/components/automation/AutomationPanel/BlockList/CreateWebhookModal.svelte index 020293b4b..02963e59e 100644 --- a/packages/builder/src/components/automation/AutomationPanel/BlockList/CreateWebhookModal.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/BlockList/CreateWebhookModal.svelte @@ -52,18 +52,17 @@ confirmText="Finished" cancelText="Skip" disabled={!valid}> -

To configure a webhook we need to create a schema for your webhook to validate against. - Use the URL shown below and send a POST request to it with a JSON body in the format that - your webhook should use!

- +

+ To configure a webhook we need to create a schema for your webhook to + validate against. Use the URL shown below and send a + POST + request to it with a JSON body in the format that your webhook should use! +

+
Schema
- - {schema} - + {schema}
- + Learn about webhooks diff --git a/packages/builder/src/components/automation/AutomationPanel/BlockList/WebhookDisplay.svelte b/packages/builder/src/components/automation/AutomationPanel/BlockList/WebhookDisplay.svelte index d8c0283af..483e0dec8 100644 --- a/packages/builder/src/components/automation/AutomationPanel/BlockList/WebhookDisplay.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/BlockList/WebhookDisplay.svelte @@ -20,14 +20,9 @@
- - copyToClipboard()}> - + + copyToClipboard()}> +
@@ -54,4 +49,4 @@ .copy-btn:hover { background-color: var(--grey-3); } - \ No newline at end of file + diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index d308cf10a..90593f806 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -66,7 +66,7 @@ {:else if value.customType === 'row'} {:else if value.customType === 'webhookUrl'} - + {:else if value.type === 'string' || value.type === 'number'}