[eric] workflows: auto-fit card height, drop stray step bands, fix active-poll 401 + view dead-ends

This commit is contained in:
ciregenz
2026-05-25 12:22:25 -07:00
parent 85646bc556
commit 846ee3bb01
6 changed files with 33 additions and 11 deletions
+3 -1
View File
@@ -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;
}