1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00
This commit is contained in:
Andrew Kingston 2021-06-21 10:11:18 +01:00
parent 0ef31accb8
commit 0d99c69fe6

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