brain: intermissions of any kind stay out of taste
shots / shots (push) Canceled after 2m21s

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K6897PWcUEwHiqZMcVnNF6
This commit is contained in:
teahubxyzandClaude Fable 5.1 committed 2026-10-21 01:59:52 +00:00
1 parent 4f96b9ec82
commit 37bf31d6ba
1 file changed
+1 -1
+1 -1
View File
@@ -91,7 +91,7 @@ function brainFor(rows) {
} }
const brains = { all: null, station: null, stationId: "", rows: [] }; const brains = { all: null, station: null, stationId: "", rows: [] };
async function rebuildBrains() { async function rebuildBrains() {
const rows = (await db.all()).filter((t) => !(t.spec && t.spec.sponsored)); brains.rows = rows; const rows = (await db.all()).filter((t) => !(t.spec && (t.spec.break || t.spec.sponsored))); brains.rows = rows;
brains.all = brainFor(rows); brains.all = brainFor(rows);
brains.stationId = state.stationId; brains.stationId = state.stationId;
brains.station = state.stationId ? brainFor(rows.filter((t) => t.spec.stationId === state.stationId)) : null; brains.station = state.stationId ? brainFor(rows.filter((t) => t.spec.stationId === state.stationId)) : null;