1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Merge pull request #11237 from Budibase/fix/action-notifications-break-flow-if-last-action

Confirmation prompts breaking button action flows.
This commit is contained in:
deanhannigan 2023-07-18 09:07:37 +01:00 committed by GitHub
commit 96757dcd43

View file

@ -478,7 +478,7 @@ export const enrichButtonActions = (actions, context) => {
actions.slice(i + 1),
newContext
)
resolve(await next())
resolve(typeof next === "function" ? await next() : true)
} else {
resolve(false)
}