fix(M01): 저장 · 캐시 삭제 단추 — 저장 안 한 고친 것이 없으면 숨김(단가산출 로직 · 마스터 요소)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YAxqrz1iadqdygC6bE3pic
This commit is contained in:
2026-10-02 10:34:54 +09:00
co-authored by Claude Opus 5.5
parent 2f25468019
commit 29d5792d94
2 changed files with 2 additions and 0 deletions
@@ -167,6 +167,7 @@ export async function mountM01LogicLab(
const n = Object.keys(drafts).length;
pending.textContent = n ? tx("Bar_Pending", { n }) : "";
saveButton.disabled = discardButton.disabled = n === 0;
saveButton.hidden = discardButton.hidden = n === 0; // 저장 안 한 고친 것이 없으면 숨김
};
const touch = (): void => {