From 129d4184dfe6e3af590654100428af21bd105a3f Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Sun, 7 Dec 2025 20:19:02 +0700 Subject: [PATCH] refactor: hapus selected outlets untuk ringkasan dan analiss --- app/Livewire/Studio/Dashboard/Analysis.php | 2 +- app/Livewire/Studio/Dashboard/Overview.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Studio/Dashboard/Analysis.php b/app/Livewire/Studio/Dashboard/Analysis.php index 34148c6..c5db1ff 100644 --- a/app/Livewire/Studio/Dashboard/Analysis.php +++ b/app/Livewire/Studio/Dashboard/Analysis.php @@ -54,7 +54,7 @@ public function mount() { $this->outlets = auth()->user()->outlets()->get()->pluck('name', 'id')->toArray(); - $this->selectedOutletIds = auth()->user()->outlets()->pluck('outlets.id')->toArray(); + $this->selectedOutletIds = []; $this->loadData(); } diff --git a/app/Livewire/Studio/Dashboard/Overview.php b/app/Livewire/Studio/Dashboard/Overview.php index 609bab1..9270079 100644 --- a/app/Livewire/Studio/Dashboard/Overview.php +++ b/app/Livewire/Studio/Dashboard/Overview.php @@ -27,7 +27,7 @@ public function mount() { $this->outlets = auth()->user()->outlets()->get()->pluck('name', 'id')->toArray(); - $this->selectedOutletIds = auth()->user()->outlets()->pluck('outlets.id')->toArray(); + $this->selectedOutletIds = []; $this->loadStats(); }