mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-13 23:56:47 +00:00
✨ Update dashboard route in sidebar with dynamic country parameter
- Updated the `route` function in the sidebar to dynamically resolve the country parameter using the current request's route.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
<flux:navlist variant="outline">
|
||||
<flux:navlist.group :heading="__('App')" class="grid">
|
||||
<flux:navlist.item icon="home" :href="route('dashboard', 'de')"
|
||||
<flux:navlist.item icon="home" :href="route('dashboard', request()->route('country', 'de'))"
|
||||
:current="request()->routeIs('dashboard')"
|
||||
wire:navigate>{{ __('Dashboard') }}</flux:navlist.item>
|
||||
</flux:navlist.group>
|
||||
|
||||
Reference in New Issue
Block a user