fix(main): restore dashboard tab rendering check in refreshView
This commit is contained in:
@@ -19,6 +19,11 @@ function refreshView() {
|
|||||||
const mainContent = document.getElementById('main-content')!;
|
const mainContent = document.getElementById('main-content')!;
|
||||||
if (!mainContent) return;
|
if (!mainContent) return;
|
||||||
|
|
||||||
|
if (state.activeSubTab === '대시보드') {
|
||||||
|
renderDashboard(mainContent);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// 서버 탭이 아닐 경우 '자산현황(위치)' 뷰 진입 방지 및 강제 리스트 모드 전환
|
// 서버 탭이 아닐 경우 '자산현황(위치)' 뷰 진입 방지 및 강제 리스트 모드 전환
|
||||||
if (state.activeSubTab !== '서버' && state.viewMode === 'location') {
|
if (state.activeSubTab !== '서버' && state.viewMode === 'location') {
|
||||||
state.viewMode = 'list';
|
state.viewMode = 'list';
|
||||||
|
|||||||
Reference in New Issue
Block a user