feat(b09): 기성 탭 마지막 회차 지우기 — 앞 회차는 뒤 회차 전회를 흔들어 마지막만

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BW6Jdsh18WPtYUR6THZJqn
This commit is contained in:
2026-09-14 06:16:00 +09:00
co-authored by Claude Opus 5
parent c3060f9bb6
commit ba2c36e803
@@ -188,6 +188,19 @@ function drawPanel(ctx: B09TabContext, data: ProgressDto, reload: (round: number
},
}),
);
if (draft.rounds.length) {
box.append(
createButton({
label: `${draft.rounds.length}회 지우기(저장)`,
variant: "ghost",
onClick: () => {
// 앞 회차를 지우면 뒤 회차의 전회가 통째로 바뀜 — 마지막 회차만 지움.
draft.rounds.pop();
void save(draft.rounds.length);
},
}),
);
}
const current = draft.rounds[data.round - 1];
if (current) {
const vat = el("label");