Minor fix for webhook modal to accomodate slower load times. selectedAutomation was not initialised in time

This commit is contained in:
Dean 2024-10-29 15:13:21 +00:00
parent a4aded36b1
commit 3a8dc188b0
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
let schemaURL
let propCount = 0
$: automation = $selectedAutomation.data
$: automation = $selectedAutomation?.data
onMount(async () => {
if (!automation?.definition?.trigger?.inputs.schemaUrl) {