Skip to content

Commit

Permalink
Fix cross-tab errors for piggybacked operations (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrubisch authored May 31, 2021
1 parent e76db90 commit a33d1e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion javascript/reflexes.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ export const performOperations = data => {
CableReady.perform(reflexOperations)
}
} else {
if (reflexes[Object.entries(data.operations)[0][1][0].reflexId])
if (
data.operations.length > 0 &&
reflexes[Object.entries(data.operations)[0][1][0].reflexId]
)
CableReady.perform(data.operations)
}
}
Expand Down

0 comments on commit a33d1e7

Please sign in to comment.