You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: enable block label references in condition expressions
Inject block outputs as JavaScript variables by their normalized names,
allowing users to reference blocks directly (e.g., `humanApproval.approved`)
without requiring angle bracket syntax in condition expressions.
This fixes Human in the Loop blocks where canvas labels like `humanApproval`
were not accessible in Condition blocks, causing "humanApproval is not defined"
errors.
The fix includes safeguards to:
- Skip JavaScript reserved words and built-in identifiers
- Avoid overwriting existing context variables
Fixes#2962
0 commit comments