From ad5c5b55770a6c796b57c1fade61dda5bccaf8ea Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Sun, 16 Nov 2025 18:27:37 +0700 Subject: [PATCH] fix(overview): menyesuaikan default selected outlets --- app/Livewire/Studio/Dashboard/Overview.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Livewire/Studio/Dashboard/Overview.php b/app/Livewire/Studio/Dashboard/Overview.php index 57d077a..772e181 100644 --- a/app/Livewire/Studio/Dashboard/Overview.php +++ b/app/Livewire/Studio/Dashboard/Overview.php @@ -27,6 +27,8 @@ public function mount() { $this->outlets = auth()->user()->outlets()->get()->pluck('name', 'id')->toArray(); + $this->selectedOutletIds = auth()->user()->outlets()->pluck('outlets.id')->toArray(); + $this->loadStats(); }