diff --git a/packages/builder/src/components/automation/Shared/CreateWebhookModal.svelte b/packages/builder/src/components/automation/Shared/CreateWebhookModal.svelte index ae3205a43b..56cc58e0c5 100644 --- a/packages/builder/src/components/automation/Shared/CreateWebhookModal.svelte +++ b/packages/builder/src/components/automation/Shared/CreateWebhookModal.svelte @@ -11,7 +11,7 @@ let schemaURL let propCount = 0 - $: automation = $selectedAutomation.data + $: automation = $selectedAutomation?.data onMount(async () => { if (!automation?.definition?.trigger?.inputs.schemaUrl) {