Fix new chat not hiding menu in mobile #179

This commit is contained in:
Webifi 2023-06-14 14:58:28 -05:00
parent 137d0140e1
commit a5d7560fa9
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
></div>
{:else}
<div class="level-item">
<button on:click={() => { startNewChatWithWarning(activeChatId) }} class="panel-block button" title="Start new chat with default profile" class:is-disabled={!$apiKeyStorage}
<button on:click={() => { $pinMainMenu = false; startNewChatWithWarning(activeChatId) }} class="panel-block button" title="Start new chat with default profile" class:is-disabled={!$apiKeyStorage}
><span class="greyscale mr-2"><Fa icon={faSquarePlus} /></span> New chat</button>
</div>
{/if}