feat: unify drainage targets and carrier status UI
This commit is contained in:
@@ -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' {
|
||||
|
||||
Reference in New Issue
Block a user