Display entity names instead of IDs in award details

- Add entityName field to backend entity breakdown
- For DXCC: Show country name (e.g., 'Germany') with ID in parentheses
- For WAS: Show state name
- For VUCC: Show grid square
- For RS-44: Show callsign
- Update sorting to use entity names for better UX
- Add subtle styling for entity IDs (gray, smaller font)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-16 09:05:50 +01:00
parent b3567100c0
commit 3b7dfd74fe
2 changed files with 18 additions and 5 deletions

View File

@@ -280,6 +280,7 @@ export async function getAwardEntityBreakdown(userId, awardId) {
entityMap.set(entity, {
entity,
entityId: qso.entityId,
entityName: qso.entity || qso.state || qso.grid || qso.callsign || String(entity),
worked: false,
confirmed: false,
qsoDate: qso.qsoDate,