Skip to content

Commit 5d6bc86

Browse files
committed
fix(trigger): use isNonEmptyValue in canonical member scan to match visibility contract
1 parent f38efa2 commit 5d6bc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/lib/workflows/subblocks/visibility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export function resolveDependencyValue(
292292
for (const [memberId, memberCanonicalId] of Object.entries(
293293
canonicalIndex.canonicalIdBySubBlockId
294294
)) {
295-
if (memberCanonicalId === canonicalId && values[memberId] != null) {
295+
if (memberCanonicalId === canonicalId && isNonEmptyValue(values[memberId])) {
296296
return values[memberId]
297297
}
298298
}

0 commit comments

Comments
 (0)