feat: unify drainage targets and carrier status UI

This commit is contained in:
hectorzhao
2026-08-28 17:24:01 +08:00
parent 9ac41e9308
commit c68ac7a3db
25 changed files with 265 additions and 65 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const itemStatusLabels: Record<string, string> = {
function itemName(item: ReportImportReviewItem) {
if (item.reportType === 'signature') return String(item.payload.name ?? '-');
return String(item.payload.siteName ?? item.payload.url ?? '-');
return String(item.payload.url ?? '-');
}
function tone(status: string): 'neutral' | 'info' | 'success' | 'warning' | 'danger' {