1
0
Fork 0
mirror of synced 2024-09-20 11:27:56 +12:00

Merge branch 'master' into dependabot/npm_and_yarn/requirejs-2.3.7

This commit is contained in:
Michael Drury 2024-07-30 09:53:06 +01:00 committed by GitHub
commit 3384017b6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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