fix unknown noc

This commit is contained in:
Fabrice LAMANT
2026-02-16 10:39:52 +01:00
parent 45de0c8a39
commit 27c2c871d7

View File

@ -208,5 +208,5 @@ export const flags: { [key: string]: string } = {
};
export const getFlag = (nocKey: string): string => {
return flags[nocKey.toUpperCase()] || "🏳️";
return flags[nocKey?.toUpperCase()] || "🏳️";
};