fix issue with automation not triggering when no fields existed
This commit is contained in:
parent
0efe0bb7ac
commit
58fedd10f5
|
@ -160,7 +160,6 @@ const deleteRowHandler = async action => {
|
||||||
|
|
||||||
const triggerAutomationHandler = async action => {
|
const triggerAutomationHandler = async action => {
|
||||||
const { fields, notificationOverride, timeout } = action.parameters
|
const { fields, notificationOverride, timeout } = action.parameters
|
||||||
if (fields) {
|
|
||||||
try {
|
try {
|
||||||
const result = await API.triggerAutomation({
|
const result = await API.triggerAutomation({
|
||||||
automationId: action.parameters.automationId,
|
automationId: action.parameters.automationId,
|
||||||
|
@ -184,7 +183,6 @@ const triggerAutomationHandler = async action => {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
const navigationHandler = action => {
|
const navigationHandler = action => {
|
||||||
const { url, peek, externalNewTab } = action.parameters
|
const { url, peek, externalNewTab } = action.parameters
|
||||||
routeStore.actions.navigate(url, peek, externalNewTab)
|
routeStore.actions.navigate(url, peek, externalNewTab)
|
||||||
|
|
Loading…
Reference in New Issue