fix: fix Out output of flow node in frontend be reactive to relevant flowStateStore change

This commit is contained in:
Ruben Fiszel
2025-08-20 09:03:01 +00:00
parent b698ced881
commit 18cc474cc7
@@ -190,7 +190,7 @@
$effect(() => {
if (testJob && testJob.type === 'CompletedJob') {
lastJob = $state.snapshot(testJob)
} else if (flowStateStore && flowStateStore) {
} else if (id && flowStateStore?.val?.[id]) {
untrack(() => updateLastJob(flowStateStore))
}
})