This commit is contained in:
Andrew Kingston 2021-06-21 10:11:18 +01:00
parent 0ef31accb8
commit 0d99c69fe6
1 changed files with 2 additions and 2 deletions

View File

@ -117,12 +117,12 @@ export const enrichButtonActions = (actions, context) => {
} }
}) })
// Stop enriching actions when encountering a confirmable actions, // Stop enriching actions when encountering a confirmable action,
// as the callback continues the action chain // as the callback continues the action chain
return return
} }
// For non-confirmable actions, execute this immediately // For non-confirmable actions, execute the handler immediately
else { else {
const result = await callback() const result = await callback()
if (result === false) { if (result === false) {