fix: incognito mode

This commit is contained in:
Timothy J. Baek 2024-06-04 09:55:31 -07:00
parent 7cf80289c3
commit 73e2912849

View File

@ -117,6 +117,7 @@
<div class="flex items-center">{$i18n.t('Settings')}</div>
</DropdownMenu.Item> -->
{#if chat && chat.id}
<DropdownMenu.Item
class="flex gap-2 items-center px-3 py-2 text-sm cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
id="chat-share-button"
@ -138,6 +139,7 @@
</svg>
<div class="flex items-center">{$i18n.t('Share')}</div>
</DropdownMenu.Item>
{/if}
<!-- <DropdownMenu.Item
class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer"
@ -199,11 +201,13 @@
</DropdownMenu.SubContent>
</DropdownMenu.Sub>
{#if chat && chat.id}
<hr class="border-gray-100 dark:border-gray-800 mt-2.5 mb-1.5" />
<div class="flex p-1">
<Tags chatId={chat.id} />
</div>
{/if}
</DropdownMenu.Content>
</div>
</Dropdown>