{#each getTerminals().tabs as tab (tab.id)} {#if getTerminals().mounted.has(tab.id)}
{/if} {/each}