We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30636c commit a7955f8Copy full SHA for a7955f8
packages/data/src/Models/StaticLocale.php
@@ -43,7 +43,7 @@ public function getLanguageFlagIconAttribute(): ?string
43
{
44
return match ($this->language?->alpha2) {
45
'ar' => 'flag-ar_arab',
46
- default => 'flag-'.strtolower($this->country?->alpha2),
+ default => 'flag-'.strtolower($this->flag_country_code),
47
};
48
}
49
0 commit comments