wip
This commit is contained in:
1 parent
e09e42ab41
commit
fc1e1b2832
6 files changed
+200
-115
No files matched your search
@@ -106,8 +106,11 @@ class PlayerPropsDrop extends Widget
|
||||
public function syncData(?int $team_id)
|
||||
{
|
||||
if ($team_id) {
|
||||
|
||||
$this->players = PlayerCalculator::load($team_id);
|
||||
|
||||
$this->team_name = SofaScoreRosa::where('ss_team_id', $team_id)->value('ss_team_name');
|
||||
|
||||
$this->team_id = $team_id;
|
||||
$this->loadPlacement();
|
||||
} else {
|
||||
@@ -176,7 +179,6 @@ class PlayerPropsDrop extends Widget
|
||||
$res = SsLineupMemory::where('client_id', Auth::user()->client_id)->where('team_id', $this->team_id)->where('lineup', $this->activeLineUp)->first();
|
||||
|
||||
if ($res) {
|
||||
// Log::debug('SsLineupMemory', $res->toArray());
|
||||
|
||||
$placement = json_decode($res->placement, 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user