(isNavOpen = ev.detail)}
title={conversations_list.find((conv) => conv.id === $page.params.id)?.title}
>
shareConversation(ev.detail.id, ev.detail.title)}
on:deleteConversation={(ev) => deleteConversation(ev.detail)}
on:clickSettings={() => (isSettingsOpen = true)}
on:editConversationTitle={(ev) => editConversationTitle(ev.detail.id, ev.detail.title)}
/>
{#if currentError}
{/if}
{#if isloading}
{/if}
{#if isSettingsOpen}
(isSettingsOpen = false)}
settings={data.settings}
models={data.models}
/>
{/if}
{#if (requiresLogin && data.messagesBeforeLogin === 0) || loginModalVisible}
{/if}