fix(frontend): fix flow warnings (#4213)

* fix(frontend): Correctly compute the array of all modules ids to build the step warnings

* fix(frontend): Correctly compute the array of all modules ids to build the step warnings
This commit is contained in:
Faton Ramadani
2024-08-08 14:34:57 +02:00
committed by GitHub
parent cd2e3049a0
commit 0e096bc8b1
@@ -197,7 +197,7 @@
flowModule.value,
$flowInputsStore[flowModule.id].flowStepWarnings ?? {},
$flowStateStore[$selectedId]?.schema ?? {},
$flowStore?.value?.modules?.map((m) => m?.id) ?? []
dfs($flowStore?.value?.modules ?? [], (fm) => fm.id) ?? []
).then((flowStepWarnings) => {
$flowInputsStore[flowModule.id].flowStepWarnings = flowStepWarnings
})