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
2a79c306
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "81c891111f411e138f86884f002673aa57420ce1"
Commit
2a79c306
authored
Apr 16, 2024
by
Timothy J. Baek
Browse files
refac
parent
d882cb41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
14 deletions
+3
-14
src/lib/components/layout/Navbar.svelte
src/lib/components/layout/Navbar.svelte
+0
-7
src/lib/components/layout/Navbar/Menu.svelte
src/lib/components/layout/Navbar/Menu.svelte
+3
-7
No files found.
src/lib/components/layout/Navbar.svelte
View file @
2a79c306
...
...
@@ -19,10 +19,6 @@
export let chat;
export let selectedModels;
export let tags = [];
export let addTag: Function;
export let deleteTag: Function;
export let showModelSelector = true;
let showShareChatModal = false;
...
...
@@ -85,9 +81,6 @@
downloadHandler={() => {
showDownloadChatModal = !showDownloadChatModal;
}}
{tags}
{deleteTag}
{addTag}
>
<button
class="cursor-pointer p-1.5 flex dark:hover:bg-gray-700 rounded-full transition"
...
...
src/lib/components/layout/Navbar/Menu.svelte
View file @
2a79c306
...
...
@@ -10,8 +10,8 @@
import { flyAndScale } from '$lib/utils/transitions';
import Dropdown from '$lib/components/common/Dropdown.svelte';
import Tags from '$lib/components/c
ommon
/Tags.svelte';
import { WEBUI_BASE_URL } from '$lib/constants';
import Tags from '$lib/components/c
hat
/Tags.svelte';
import { downloadChatAsPDF } from '$lib/apis/utils';
export let shareEnabled: boolean = false;
...
...
@@ -21,10 +21,6 @@
// export let tagHandler: Function;
export let chat;
export let tags;
export let deleteTag: Function;
export let addTag: Function;
export let onClose: Function = () => {};
const downloadTxt = async () => {
...
...
@@ -190,7 +186,7 @@
<hr class="border-gray-100 dark:border-gray-800 mt-2.5 mb-1.5" />
<div class="flex p-1">
<Tags
{tags} {deleteTag} {addTag
} />
<Tags
chatId={chat.id
} />
</div>
<!-- <DropdownMenu.Item
...
...
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