wip livewire migration

This commit is contained in:
Andras Bacsai
2023-12-07 22:56:55 +01:00
parent 718603e37e
commit f934dfef33
64 changed files with 164 additions and 155 deletions

View File

@@ -24,7 +24,7 @@ class Index extends Component
public function mount()
{
if (config('coolify.waitlist') == false) {
return redirect()->route('register');
return $this->redirectRoute('register', navigate: true);
}
$this->waitingInLine = Waitlist::whereVerified(true)->count();
$this->users = User::count();