fix(overview): menyesuaikan default selected outlets
This commit is contained in:
parent
8ebb1f5fe8
commit
ad5c5b5577
@ -27,6 +27,8 @@ public function mount()
|
|||||||
{
|
{
|
||||||
$this->outlets = auth()->user()->outlets()->get()->pluck('name', 'id')->toArray();
|
$this->outlets = auth()->user()->outlets()->get()->pluck('name', 'id')->toArray();
|
||||||
|
|
||||||
|
$this->selectedOutletIds = auth()->user()->outlets()->pluck('outlets.id')->toArray();
|
||||||
|
|
||||||
$this->loadStats();
|
$this->loadStats();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user