⚙️ Raise top‑meetup and top‑country limits from 10 → 15; add guard for empty sparkline data before rendering chart.

This commit is contained in:
HolgerHatGarKeineNode
2025-12-09 21:32:13 +01:00
parent e18d79aa40
commit 9511bcdb11
2 changed files with 9 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ class extends Component {
$topMeetups = Meetup::withCount('users')
->with(['city.country'])
->orderBy('users_count', 'desc')
->limit(10)
->limit(15)
->get()
->map(function ($meetup) {
// Optimierte Query: Hole alle User-Erstellungsdaten für dieses Meetup auf einmal