From 67c060476dc48f020aa35c871a3312e191eb0d83 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Mon, 1 Dec 2025 19:52:01 +0700 Subject: [PATCH] feat(analysis): default outlet --- app/Livewire/Studio/Dashboard/Analysis.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Livewire/Studio/Dashboard/Analysis.php b/app/Livewire/Studio/Dashboard/Analysis.php index d740e76..34148c6 100644 --- a/app/Livewire/Studio/Dashboard/Analysis.php +++ b/app/Livewire/Studio/Dashboard/Analysis.php @@ -54,6 +54,8 @@ public function mount() { $this->outlets = auth()->user()->outlets()->get()->pluck('name', 'id')->toArray(); + $this->selectedOutletIds = auth()->user()->outlets()->pluck('outlets.id')->toArray(); + $this->loadData(); }