From 33e9e2afec12b96d6e89ffcb15a39c2798c317c7 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Tue, 20 Jan 2026 08:54:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=EC=9D=84=20=EB=A9=94=EC=9D=B8=20=EB=8C=80?= =?UTF-8?q?=EC=8B=9C=EB=B3=B4=EB=93=9C(=EA=B7=B8=EB=A3=B9=EC=9E=A5=20?= =?UTF-8?q?=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C)=EB=A1=9C=20=ED=86=B5?= =?UTF-8?q?=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 모든 역할의 사용자가 group-leader.html로 이동하도록 수정 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- web-ui/js/load-navbar.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/web-ui/js/load-navbar.js b/web-ui/js/load-navbar.js index dcc0e21..b2eedd4 100644 --- a/web-ui/js/load-navbar.js +++ b/web-ui/js/load-navbar.js @@ -67,18 +67,10 @@ function populateUserInfo(doc, user) { if (el) el.textContent = elements[id]; } - // 역할별 대시보드 URL 설정 + // 메인 대시보드 URL 설정 (그룹장 대시보드가 메인) const dashboardBtn = doc.getElementById('dashboardBtn'); if (dashboardBtn) { - let dashboardUrl = '/pages/dashboard/user.html'; // 기본값 - - if (user.role === 'admin' || user.role === 'system') { - dashboardUrl = '/pages/dashboard/system.html'; - } else if (user.role === 'leader' || user.access_level === 'group_leader') { - dashboardUrl = '/pages/dashboard/group-leader.html'; - } - - dashboardBtn.href = dashboardUrl; + dashboardBtn.href = '/pages/dashboard/group-leader.html'; } }