fix(overview): menyesuaikan default selected outlets

This commit is contained in:
Yoga Pangestu 2025-11-16 18:27:37 +07:00
parent 8ebb1f5fe8
commit ad5c5b5577

View File

@ -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();
}