diff --git a/src/views/List/ListFactory.ts b/src/views/List/ListFactory.ts index 7b93566..ae7a26b 100644 --- a/src/views/List/ListFactory.ts +++ b/src/views/List/ListFactory.ts @@ -177,9 +177,9 @@ export function createListView(container: HTMLElement, config: ListViewConfig) { } let currentFilters: any = (state as any).listFilters[filterKey]; - // 서버 및 PC 탭이 아닐 경우 '자산 현황' 뷰 진입 방지 및 강제 'asset' 모드 - const isServerOrPc = config.title === '서버' || config.title === 'PC'; - if (!isServerOrPc) { + // 서버 탭이 아닐 경우 '자산 현황' 뷰 진입 방지 및 강제 'asset' 모드 (PC 탭은 자산 현황 숨김) + const isServer = config.title === '서버'; + if (!isServer) { (state as any).currentViewMode = 'asset'; } else if (!(state as any).currentViewMode) { (state as any).currentViewMode = 'system'; @@ -192,7 +192,7 @@ export function createListView(container: HTMLElement, config: ListViewConfig) { const showPcFlowBtn = config.title === 'PC'; toggleWrapper.innerHTML = `
-
+