{#if showDropdown && envList.length > 0}
{#if showSearch}
e.stopPropagation()} onkeydown={(e) => { if (e.key === 'Escape') { if (searchTerm) { searchTerm = ''; } else { showDropdown = false; } } }} /> {#if searchTerm} {/if}
{/if}
{#each filteredEnvList as env (env.id)} {@const isOffline = offlineEnvIds.has(env.id)} {@const isSwitching = switchingEnvId === env.id} {:else}
No matching environments
{/each}
{/if}
{#if hostInfo} | {#if hostLabel} {/if} {#if hostInfo.cpus > 0} {/if} {#if hostInfo.totalMemory > 0} {/if} {#if diskUsage && !diskUsageLoading} {/if} {#if hostInfo.uptime > 0} {/if}
{formatLastUpdated(lastUpdated, currentTimezone)} {#if isConnected} Live {:else} {/if}
{/if}