wip
This commit is contained in:
1 parent
085dc78e26
commit
958944f21c
6 files changed
+30
-16
No files matched your search
@@ -70,6 +70,7 @@ class PlayerPropsDrop extends Widget
|
||||
public function matchUpdate(int $match_id)
|
||||
{
|
||||
$this->match_id = $match_id;
|
||||
$this->loadPlacement();
|
||||
}
|
||||
|
||||
#[On('team-update')]
|
||||
@@ -159,7 +160,7 @@ class PlayerPropsDrop extends Widget
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->dispatch('update-players', players: $this->players);
|
||||
$this->calculateAspg();
|
||||
}
|
||||
|
||||
public function storePlacement()
|
||||
@@ -325,6 +326,8 @@ class PlayerPropsDrop extends Widget
|
||||
$this->players[$k]['crd'] = '';
|
||||
}
|
||||
|
||||
$this->dispatch('update-players', players: $this->players);
|
||||
|
||||
if ($manual) {
|
||||
Notification::make()->title('Calculation needs 10 player on field')
|
||||
->info()
|
||||
|
||||
Reference in new issue
Block a user