From 17a6790abc319873ff856aba172789d7bb0ab391 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Sun, 8 Feb 2026 09:41:10 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EC=A0=84=20?= =?UTF-8?q?=EB=82=B4=EB=B3=B4=EB=82=B4=EA=B8=B0=20=EB=B9=84=ED=99=9C?= =?UTF-8?q?=EC=84=B1=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 로그인 전에는 내보내기 버튼을 disabled 처리 Co-authored-by: Cursor --- script.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script.js b/script.js index 3c729ed..f6c5e61 100644 --- a/script.js +++ b/script.js @@ -798,6 +798,8 @@ const lockMsg = "관리 기능은 로그인(관리자 이메일) 후 사용 가능합니다."; el.btnAdd.disabled = !state.canManage; el.btnImport.disabled = !state.canManage; + // 요청: 로그인 전에는 내보내기도 비활성화 + el.btnExport.disabled = auth.mode === "enabled" ? !auth.user : false; if (!state.canManage) { el.btnAdd.title = lockMsg; @@ -806,6 +808,9 @@ el.btnAdd.title = ""; el.btnImport.title = ""; } + + if (el.btnExport.disabled) el.btnExport.title = "내보내기는 로그인 후 사용 가능합니다."; + else el.btnExport.title = ""; } async function initAuth() {