refactor: hapus selected outlets untuk ringkasan dan analiss
This commit is contained in:
parent
f2b13df140
commit
129d4184df
@ -54,7 +54,7 @@ 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->selectedOutletIds = [];
|
||||||
|
|
||||||
$this->loadData();
|
$this->loadData();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,7 +27,7 @@ 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->selectedOutletIds = [];
|
||||||
|
|
||||||
$this->loadStats();
|
$this->loadStats();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user