mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-24 02:24:52 +02:00
[eric] workflows: auto-fit card height, drop stray step bands, fix active-poll 401 + view dead-ends
This commit is contained in:
@@ -48,7 +48,9 @@ function fetchJson(pathStr) {
|
||||
}
|
||||
|
||||
async function getActive() {
|
||||
const res = await fetchJson('/workflows/active');
|
||||
// Must hit the /api prefix; the bare path 401s and would leave the
|
||||
// powerSaveBlocker + updater-veto blind to in-flight runs.
|
||||
const res = await fetchJson('/api/workflows/active');
|
||||
if (!res || !Array.isArray(res.active)) return [];
|
||||
return res.active;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user