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 dfa5f28 commit f643a04Copy full SHA for f643a04
packages/data/src/Models/StaticLocale.php
@@ -44,7 +44,7 @@ public function getLanguageFlagIconAttribute(): ?string
44
{
45
return match ($this->language?->alpha2) {
46
'ar' => 'flag-ar_arab',
47
- default => 'flag-'.strtolower($this->flag_country_code),
+ default => 'flag-'.strtolower($this->language->alpha2),
48
};
49
}
50
0 commit comments