Refactor: Rename AssetTableView to SW_Table and sync with main
This commit is contained in:
@@ -4,12 +4,13 @@ import { renderServerList } from './List/ServerListView';
|
||||
import { renderStorageList } from './List/StorageListView';
|
||||
import { renderEquipmentList } from './List/EquipmentListView';
|
||||
import { renderSwList } from './List/SwListView';
|
||||
import { renderCloudList } from './List/CloudListView';
|
||||
import { createIcons, Download, Upload, FileSpreadsheet, Plus, X, LayoutDashboard, Monitor, Server, Database, Laptop, CalendarClock, Key, Cpu, Layers, Users, Paperclip, Edit2, RefreshCcw } from 'lucide';
|
||||
|
||||
/**
|
||||
* 자산 목록 테이블 렌더링 통합 허브
|
||||
*/
|
||||
export function renderTable(mainContent: HTMLElement) {
|
||||
export function renderSWTable(mainContent: HTMLElement) {
|
||||
if (!mainContent) return;
|
||||
console.log(`📂 Rendering Table for: ${state.activeCategory} / ${state.activeSubTab}`);
|
||||
|
||||
@@ -31,6 +32,8 @@ export function renderTable(mainContent: HTMLElement) {
|
||||
} else if (state.activeCategory === 'sw') {
|
||||
if (tab === '구독SW' || tab === '영구SW') {
|
||||
renderSwList(container);
|
||||
} else if (tab === '클라우드') {
|
||||
renderCloudList(container);
|
||||
} else {
|
||||
container.innerHTML = `<div style="padding:2rem; color:var(--text-muted);">"${tab}" 탭에 대한 소프트웨어 리스트 뷰가 정의되지 않았습니다.</div>`;
|
||||
}
|
||||
Reference in New Issue
Block a user