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
1 changed files with 1 additions and 1 deletions

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