From d3c4fa5e66ed1041756bd9078678573248a733dd Mon Sep 17 00:00:00 2001 From: JooWangi Date: Thu, 11 Jun 2026 11:42:03 +0900 Subject: [PATCH] fix(main): restore dashboard tab rendering check in refreshView --- src/main.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.ts b/src/main.ts index 3529ebd..5e77ffd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -19,6 +19,11 @@ function refreshView() { const mainContent = document.getElementById('main-content')!; if (!mainContent) return; + if (state.activeSubTab === '대시보드') { + renderDashboard(mainContent); + return; + } + // 서버 탭이 아닐 경우 '자산현황(위치)' 뷰 진입 방지 및 강제 리스트 모드 전환 if (state.activeSubTab !== '서버' && state.viewMode === 'location') { state.viewMode = 'list';