null check
This commit is contained in:
parent
bbdd3f017f
commit
c01abe4c6f
|
@ -21,9 +21,10 @@
|
||||||
}
|
}
|
||||||
$: if (value?.automationId == null) value = { automationId: "" }
|
$: if (value?.automationId == null) value = { automationId: "" }
|
||||||
|
|
||||||
$: automationFields = $automationStore.automations.find(
|
$: automationFields =
|
||||||
automation => automation._id === value?.automationId
|
$automationStore.automations.find(
|
||||||
)?.definition?.trigger?.inputs?.fields
|
automation => automation._id === value?.automationId
|
||||||
|
)?.definition?.trigger?.inputs?.fields || []
|
||||||
|
|
||||||
$: filteredAutomations = $automationStore.automations.filter(
|
$: filteredAutomations = $automationStore.automations.filter(
|
||||||
automation =>
|
automation =>
|
||||||
|
|
Loading…
Reference in New Issue