fix
This commit is contained in:
parent
34a935f757
commit
c420f89d48
@ -3,7 +3,7 @@
|
|||||||
<h1>Choose a server</h1>
|
<h1>Choose a server</h1>
|
||||||
@endif
|
@endif
|
||||||
@forelse ($servers as $server)
|
@forelse ($servers as $server)
|
||||||
<button @if ($chosenServer == $server->id) class="bg-blue-500" @endif
|
<button @if ($chosenServer && $chosenServer['id'] === $server->id) class="bg-blue-500" @endif
|
||||||
wire:click="chooseServer({{ $server }})">{{ $server->name }}</button>
|
wire:click="chooseServer({{ $server }})">{{ $server->name }}</button>
|
||||||
@empty
|
@empty
|
||||||
No servers found.
|
No servers found.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user