看板套用預排轉調
CI / build (push) Failing after 21s

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VDJVpPiGiWjJP1yVvvGhzQ
This commit is contained in:
2026-11-25 01:44:30 +00:00
co-authored by Claude Opus 5
parent a8d70af4df
commit a5dfd69f6d
+1 -1
View File
@@ -152,7 +152,7 @@ async function loadBoardInput(session, options = {}) {
}
if (options.plans === false) return board;
const plans = await planStore.load();
if (!plans.departures.length && !plans.hires.length) return board;
if (!plans.departures.length && !plans.hires.length && !plans.transfers.length) return board;
const year = Number(board.payload.reportYear || board.payload.globalParams?.reportYear || await getCurrentYear());
return { payload: { ...board.payload, baseData: applyPlans(board.payload.baseData, plans, { year, fullYearDefault: year > FIRST_YEAR }) } };
}