Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
73e29128
"ts/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "dc54f4add0ea1837be0a14f353cf6bcf6e68bb95"
Commit
73e29128
authored
Jun 04, 2024
by
Timothy J. Baek
Browse files
fix: incognito mode
parent
7cf80289
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
24 deletions
+28
-24
src/lib/components/layout/Navbar/Menu.svelte
src/lib/components/layout/Navbar/Menu.svelte
+28
-24
No files found.
src/lib/components/layout/Navbar/Menu.svelte
View file @
73e29128
...
@@ -117,27 +117,29 @@
...
@@ -117,27 +117,29 @@
<div class="flex items-center">{$i18n.t('Settings')}</div>
<div class="flex items-center">{$i18n.t('Settings')}</div>
</DropdownMenu.Item> -->
</DropdownMenu.Item> -->
<DropdownMenu.Item
{#if chat && chat.id}
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"
<DropdownMenu.Item
id="chat-share-button"
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"
on:click={() => {
id="chat-share-button"
shareHandler();
on:click={() => {
}}
shareHandler();
>
}}
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-4"
>
>
<path
<svg
fill-rule="evenodd"
xmlns="http://www.w3.org/2000/svg"
d="M15.75 4.5a3 3 0 1 1 .825 2.066l-8.421 4.679a3.002 3.002 0 0 1 0 1.51l8.421 4.679a3 3 0 1 1-.729 1.31l-8.421-4.678a3 3 0 1 1 0-4.132l8.421-4.679a3 3 0 0 1-.096-.755Z"
viewBox="0 0 24 24"
clip-rule="evenodd"
fill="currentColor"
/>
class="size-4"
</svg>
>
<div class="flex items-center">{$i18n.t('Share')}</div>
<path
</DropdownMenu.Item>
fill-rule="evenodd"
d="M15.75 4.5a3 3 0 1 1 .825 2.066l-8.421 4.679a3.002 3.002 0 0 1 0 1.51l8.421 4.679a3 3 0 1 1-.729 1.31l-8.421-4.678a3 3 0 1 1 0-4.132l8.421-4.679a3 3 0 0 1-.096-.755Z"
clip-rule="evenodd"
/>
</svg>
<div class="flex items-center">{$i18n.t('Share')}</div>
</DropdownMenu.Item>
{/if}
<!-- <DropdownMenu.Item
<!-- <DropdownMenu.Item
class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer"
class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer"
...
@@ -199,11 +201,13 @@
...
@@ -199,11 +201,13 @@
</DropdownMenu.SubContent>
</DropdownMenu.SubContent>
</DropdownMenu.Sub>
</DropdownMenu.Sub>
<hr class="border-gray-100 dark:border-gray-800 mt-2.5 mb-1.5" />
{#if chat && chat.id}
<hr class="border-gray-100 dark:border-gray-800 mt-2.5 mb-1.5" />
<div class="flex p-1">
<div class="flex p-1">
<Tags chatId={chat.id} />
<Tags chatId={chat.id} />
</div>
</div>
{/if}
</DropdownMenu.Content>
</DropdownMenu.Content>
</div>
</div>
</Dropdown>
</Dropdown>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment