{#each _chats as chat, i}
{#if chat.id === $chatId}
{#if chatTitleEditIdx === chat.id}
{:else}
{/if}
{/if}
{/each}

{#if $user !== undefined} {#if showDropdown} {/if} {:else} {/if}