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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user