Fix missing flag

This commit is contained in:
Zachary
2024-11-11 19:08:57 +01:00
parent 712b964f81
commit 3cd5539ca8

View File

@@ -69,6 +69,7 @@
}
function getFlagEmoji(countryCode) {
if (!countryCode) return ''; // Return an empty string if countryCode is not available
return countryCode
.toUpperCase()
.replace(/./g, char => String.fromCodePoint(127397 + char.charCodeAt()));