{#if loadingRooms}
{#if !collapsed}
room
players
{#each rooms as room}
changeRoom(room)} class="grid-row gap-2 hover:bg-gray-300 {room.id === $selectedRoomID ? 'text-green-600' : ''}" >
{#if room.id === $selectedRoomID}
{/if}
room {room.id}
{room.users_count} / {MAX_CAPACITY}
{/each}
{/if}
(isLoading ? null : (collapsed = !collapsed))} > {#if selectedRoom}
room {selectedRoom?.id}
{selectedRoom?.users_count} / {MAX_CAPACITY}
{:else}
Loading...
... / ...
{/if}
{/if}