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 { fields, notificationOverride, timeout } = action.parameters
|
||||
if (fields) {
|
||||
try {
|
||||
const result = await API.triggerAutomation({
|
||||
automationId: action.parameters.automationId,
|
||||
|
@ -184,7 +183,6 @@ const triggerAutomationHandler = async action => {
|
|||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
const navigationHandler = action => {
|
||||
const { url, peek, externalNewTab } = action.parameters
|
||||
routeStore.actions.navigate(url, peek, externalNewTab)
|
||||
|
|
Loading…
Reference in New Issue