Skip to content

Commit f643a04

Browse files
committed
Update StaticLocale.php
1 parent dfa5f28 commit f643a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/data/src/Models/StaticLocale.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getLanguageFlagIconAttribute(): ?string
4444
{
4545
return match ($this->language?->alpha2) {
4646
'ar' => 'flag-ar_arab',
47-
default => 'flag-'.strtolower($this->flag_country_code),
47+
default => 'flag-'.strtolower($this->language->alpha2),
4848
};
4949
}
5050

0 commit comments

Comments
 (0)