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:
commit
96757dcd43
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue