We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 266bc21 commit 2b9fb19Copy full SHA for 2b9fb19
apps/sim/lib/workflows/subblocks/visibility.ts
@@ -284,8 +284,9 @@ export function resolveDependencyValue(
284
285
const { basicValue, advancedValue } = getCanonicalValues(group, values)
286
const mode = resolveCanonicalMode(group, values, overrides)
287
- if (mode === 'advanced') return advancedValue ?? basicValue
288
- return basicValue ?? advancedValue
+ const canonicalResult =
+ mode === 'advanced' ? (advancedValue ?? basicValue) : (basicValue ?? advancedValue)
289
+ return canonicalResult ?? values[dependencyKey]
290
}
291
292
/**
0 commit comments