Skip to content

Commit a7955f8

Browse files
committed
Update StaticLocale.php
1 parent a30636c commit a7955f8

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
@@ -43,7 +43,7 @@ public function getLanguageFlagIconAttribute(): ?string
4343
{
4444
return match ($this->language?->alpha2) {
4545
'ar' => 'flag-ar_arab',
46-
default => 'flag-'.strtolower($this->country?->alpha2),
46+
default => 'flag-'.strtolower($this->flag_country_code),
4747
};
4848
}
4949

0 commit comments

Comments
 (0)