Refactor: Rename AssetTableView to SW_Table and sync with main

This commit is contained in:
2026-04-17 17:01:27 +09:00
parent 97478dd9bc
commit c5d7f4cf67
2 changed files with 25 additions and 12 deletions

View File

@@ -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>`;
}