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';