Merge branch 'master' into dependabot/npm_and_yarn/requirejs-2.3.7
This commit is contained in:
commit
3384017b6e
|
@ -2,12 +2,12 @@ import { Automation, AutomationTriggerStepId } from "@budibase/types"
|
|||
|
||||
export function isRowAction(automation: Automation) {
|
||||
const result =
|
||||
automation.definition.trigger.stepId === AutomationTriggerStepId.ROW_ACTION
|
||||
automation.definition.trigger?.stepId === AutomationTriggerStepId.ROW_ACTION
|
||||
return result
|
||||
}
|
||||
|
||||
export function isAppAction(automation: Automation) {
|
||||
const result =
|
||||
automation.definition.trigger.stepId === AutomationTriggerStepId.APP
|
||||
automation.definition.trigger?.stepId === AutomationTriggerStepId.APP
|
||||
return result
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue