diff --git a/src/pages/applications/AppManagementPage.tsx b/src/pages/applications/AppManagementPage.tsx index 25674a7..8eee3d4 100644 --- a/src/pages/applications/AppManagementPage.tsx +++ b/src/pages/applications/AppManagementPage.tsx @@ -73,12 +73,12 @@ function getTone(status: string) { return 'neutral'; } -function formatStatus(status?: string | null) { +function formatStatus(status?: string | null, launcherLinked?: boolean) { + if (status === 'DISABLED' || status === 'INACTIVE') return '비활성'; + if (launcherLinked) return '활성'; const statusMap: Record = { - ACTIVE: '준비됨', + ACTIVE: '활성', READY: '준비됨', - INACTIVE: '비활성', - DISABLED: '비활성', ERROR: '오류' }; @@ -906,7 +906,9 @@ export function AppManagementPage() { {app.name} {app.namespace || '-'} {app.components?.length ?? 0} - {formatStatus(app.status)} + + {formatStatus(app.status, app.launcherLinked)} +
-
+

조회 브랜치