mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-13 23:56:47 +00:00
🔢 Add dynamic badge to sidebar map item displaying total meetup count
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
</flux:navlist.item>
|
</flux:navlist.item>
|
||||||
<flux:navlist.item icon="map" :href="route_with_country('meetups.map-world')"
|
<flux:navlist.item icon="map" :href="route_with_country('meetups.map-world')"
|
||||||
:current="request()->routeIs('meetups.map-world')"
|
:current="request()->routeIs('meetups.map-world')"
|
||||||
wire:navigate>
|
wire:navigate badge="{{ \App\Models\Meetup::query()->count() }}">
|
||||||
<div class="flex items-center space-x-2">
|
<div class="flex items-center space-x-2">
|
||||||
<span>{{ __('Welt-Karte') }}</span>
|
<span>{{ __('Welt-Karte') }}</span>
|
||||||
<flux:icon name="globe-europe-africa"/>
|
<flux:icon name="globe-europe-africa"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user