Minor fix for webhook modal to accomodate slower load times. selectedAutomation was not initialised in time
This commit is contained in:
parent
a4aded36b1
commit
3a8dc188b0
|
@ -11,7 +11,7 @@
|
|||
let schemaURL
|
||||
let propCount = 0
|
||||
|
||||
$: automation = $selectedAutomation.data
|
||||
$: automation = $selectedAutomation?.data
|
||||
|
||||
onMount(async () => {
|
||||
if (!automation?.definition?.trigger?.inputs.schemaUrl) {
|
||||
|
|
Loading…
Reference in New Issue