feat: 동적 디스크 확장 기능 및 하드웨어 카테고리 필터링 고도화

This commit is contained in:
2026-06-09 16:29:54 +09:00
parent 4b408b0640
commit 2b9c965c91
9 changed files with 275 additions and 125 deletions

View File

@@ -5,10 +5,10 @@ import { ASSET_SCHEMA } from '../../core/schema';
import { createListView } from './ListFactory';
export function renderSwList(container: HTMLElement) {
const isInternal = state.activeSubTab === '내부';
const isInternal = state.activeSubTab === '내부SW';
createListView(container, {
title: isInternal ? '내부' : '외부',
title: isInternal ? '내부SW' : '외부SW',
dataSource: () => sortAssets(isInternal ? state.masterData.swInternal : state.masterData.swExternal),
searchKeys: ['PRODUCT_NAME', 'CURRENT_USER', 'CURRENT_DEPT', 'ASSET_TYPE'],
emptyMessage: '검색 결과가 없습니다.',