Skip to content

Commit c587a84

Browse files
committed
Fix issue when adding nested actions.
1 parent 14da7a0 commit c587a84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function appendActionEvent(
4747

4848
return {
4949
...action,
50-
nestedActions: [nestedAction]
50+
nestedActions: action.nestedActions.concat(nestedAction)
5151
}
5252
} else if (action.name === event.action) {
5353
// the previous call is now complete: set to done and compute the result

0 commit comments

Comments
 (0)