mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Hide countries with no calling code assigned
This commit is contained in:
parent
bcf81bce4d
commit
a0b045b087
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@
|
||||||
<option value=""></option>
|
<option value=""></option>
|
||||||
@foreach ($countries as $country)
|
@foreach ($countries as $country)
|
||||||
@php
|
@php
|
||||||
|
if (!$country->calling_code) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$country_name = $lang_type === 'ko' ? $country->name_korean : $country->name_english;
|
$country_name = $lang_type === 'ko' ? $country->name_korean : $country->name_english;
|
||||||
if ($selected_iso_code) {
|
if ($selected_iso_code) {
|
||||||
$is_selected = $selected_iso_code === $country->iso_3166_1_alpha3;
|
$is_selected = $selected_iso_code === $country->iso_3166_1_alpha3;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue