fix(builder/monitor): Fix # of runs count on first load (#7558)

Return mutated copy rather than in-place mutated `flowRuns` in `refreshFlowRuns(..)`

Fixes #7507
This commit is contained in:
Reinier van der Leer
2024-07-23 00:15:54 +02:00
committed by GitHub
parent 7de49dfbe5
commit 470c738732

View File

@@ -82,7 +82,7 @@ const Monitor = () => {
else {
flowRuns.push(flowRun)
}
return flowRuns
return [...flowRuns]
}));
}));
}