diff --git a/assets/js/sections/bandmap_list.js b/assets/js/sections/bandmap_list.js index ddcf22ade..fb4353509 100644 --- a/assets/js/sections/bandmap_list.js +++ b/assets/js/sections/bandmap_list.js @@ -1048,6 +1048,9 @@ $(function() { let flag_only = ''; if (single.dxcc_spotted && single.dxcc_spotted.flag) { flag_only = '' + single.dxcc_spotted.flag + ''; + } else if (single.dxcc_spotted && !single.dxcc_spotted.flag && single.dxcc_spotted.entity) { + // Display pirate flag when there's an entity but no flag + flag_only = '🏴☠️'; } data[0].push(flag_only); @@ -3605,7 +3608,8 @@ $(function() { */ function createSpotTable(spots, dxccEntity, dxccFlag) { // Add DXCC name header with flag (bigger flag size) - const flagEmoji = dxccFlag ? '' + dxccFlag + ' ' : ''; + // Use pirate flag if no flag is available + const flagEmoji = dxccFlag ? '' + dxccFlag + ' ' : (dxccEntity ? '🏴☠️ ' : ''); let html = '