mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
fix nl-be
This commit is contained in:
@@ -11,7 +11,11 @@ class Footer extends Component
|
|||||||
{
|
{
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
$l = Cookie::get('lang', config('app.locale'));
|
$locale = config('app.locale');
|
||||||
|
if ($locale === 'nl-be') {
|
||||||
|
$locale = 'nl';
|
||||||
|
}
|
||||||
|
$l = Cookie::get('lang', $locale);
|
||||||
$language = Language::query()
|
$language = Language::query()
|
||||||
->where('language', $l)
|
->where('language', $l)
|
||||||
->first();
|
->first();
|
||||||
|
|||||||
Reference in New Issue
Block a user