(url)
| 38 | |
| 39 | /* ---------------- Helpers ---------------- */ |
| 40 | async function fetchJSON(url) { |
| 41 | const r = await fetch(url, { cache: "no-store" }); |
| 42 | if (!r.ok) throw new Error(await r.text()); |
| 43 | return r.json(); |
| 44 | } |
| 45 | |
| 46 | function taskCardHtml(t) { |
| 47 | const short = t.id.slice(0, 8); |