refactor: rebase on Livewire 4 starter kit

This commit is contained in:
Benjamin Nussbaum 2026-01-15 21:55:24 +01:00
parent b097b0a7d7
commit e660da46fb
69 changed files with 1967 additions and 942 deletions

View file

@ -12,7 +12,7 @@ class DeviceAutoJoin extends Component
public function mount(): void
{
$this->deviceAutojoin = auth()->user()->assign_new_devices;
$this->deviceAutojoin = (bool) (auth()->user()->assign_new_devices ?? false);
$this->isFirstUser = auth()->user()->id === 1;
}