fix: 🐛 settings::locale:available string to array conversion
This commit is contained in:
parent
010ddfe3b6
commit
1a45c16feb
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
|||
aria-labelledby="changeLocale">
|
||||
<form method="post" action="{{ route('changeLocale') }}" class="nav-item text-center">
|
||||
@csrf
|
||||
@foreach (json_decode(config('SETTINGS::LOCALE:AVAILABLE')) as $key)
|
||||
@foreach (explode(',', config('SETTINGS::LOCALE:AVAILABLE')) as $key)
|
||||
<button class="dropdown-item" name="inputLocale" value="{{ $key }}">
|
||||
{{ __($key) }}
|
||||
</button>
|
||||
|
|
Loading…
Add table
Reference in a new issue