Merge Setting and SW_Table branches into main, fix conflicts, and resolve TS build errors

This commit is contained in:
2026-04-17 15:28:39 +09:00
12 changed files with 478 additions and 148 deletions

View File

@@ -38,6 +38,7 @@ export interface HardwareAsset {
서버PW?: string;
모니터링?: string;
비고?: string;
현사용조직?: string;
}

View File

@@ -14,7 +14,9 @@ const dummy = generateDummyData();
// 서버 데이터만 실제 데이터로 교체
const mergedHw: HardwareAsset[] = [
...dummy.hw.filter(a => a.type !== '서버'),
...realServerData.map(s => ({
...realServerData.map((serverData: any) => {
const s = serverData;
return {
id: s.id || Math.random().toString(36).substring(2, 9),
type: '서버',
법인: s.법인,
@@ -47,7 +49,7 @@ const mergedHw: HardwareAsset[] = [
서버PW: s.서버PW || '',
모니터링: s.모니터링 || '',
비고: s.비고 || ''
}))
}})
];
// --- Initial State ---