fix issue with automation not triggering when no fields existed

This commit is contained in:
Peter Clement 2024-01-26 09:21:13 +00:00
parent 0efe0bb7ac
commit 58fedd10f5
1 changed files with 17 additions and 19 deletions

View File

@ -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)