{#if !collapsed}
room
players
{#each rooms as room, i}
{ selectedRoomID = i; collapsed = true; }} class="grid-row gap-2 hover:bg-gray-300 {i === selectedRoomID ? 'text-green-600' : ''}" >
{#if i === selectedRoomID}
{/if}
{room.label}
{room.total} / {room.capacity}
{/each}
{/if}
(isLoading ? null : (collapsed = !collapsed))} >
{selectedRoom.label}
{selectedRoom.total} / {selectedRoom.capacity}