This commit is contained in:
salam committed 2026-09-14 12:49:09 +02:00
1 parent 04589f6343
commit e661474891
1 file changed
+2 -4
+2 -4
View File
@@ -12,7 +12,6 @@ use App\Models\StatistikoDetail;
use Filament\Notifications\Notification;
use Filament\Widgets\Widget;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Log;
use Livewire\Attributes\On;
class PlayerPropsDrop extends Widget
@@ -68,8 +67,6 @@ class PlayerPropsDrop extends Widget
$this->team_name = SofaScoreRosa::where('ss_team_id', $team_id)->value('ss_team_name');
$this->team_id = $team_id;
$this->loadPlacement();
$this->dispatch('update-players', players: $this->players);
}
#[On('lineup-update')]
@@ -152,6 +149,7 @@ class PlayerPropsDrop extends Widget
}
}
}
$this->dispatch('update-players', players: $this->players);
}
public function storePlacement()
@@ -214,7 +212,7 @@ class PlayerPropsDrop extends Widget
$this->storePlacement();
$this->dispatch('update-players', players: $this->players);
$this->loadPlacement();
}
}