mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-07-06 20:37:56 +02:00
feat: enrich military aircraft with ICAO country/force and East Asia model classification
Infer country and military force (PLA, JSDF, ROK, ROC) from ICAO hex address blocks when the flag field is Unknown. Extract and extend aircraft model classification to cover East Asian fighters, cargo, recon, and tanker types with hyphen-normalized matching. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -427,7 +427,12 @@ function NewsFeedInner({ data, selectedEntity, regionDossier, regionDossierLoadi
|
||||
let airline = "UNKNOWN";
|
||||
|
||||
if (selectedEntity.type === 'military_flight') {
|
||||
airline = "MILITARY ASSET";
|
||||
const mil = flight as import('@/types/dashboard').MilitaryFlight;
|
||||
const milCountry = mil.country;
|
||||
airline = mil.force
|
||||
? `${milCountry} ${mil.force}`.trim()
|
||||
: (milCountry && milCountry !== 'Military Asset' && milCountry !== 'Unknown'
|
||||
? milCountry : "MILITARY ASSET");
|
||||
} else if (selectedEntity.type === 'private_jet') {
|
||||
airline = "PRIVATE JET";
|
||||
} else if (selectedEntity.type === 'private_flight') {
|
||||
|
||||
Reference in New Issue
Block a user