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
d4db3dd5
Commit
d4db3dd5
authored
May 03, 2024
by
Timothy J. Baek
Browse files
fix: tag delete issue
parent
fa3c7bc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/lib/components/chat/Tags.svelte
src/lib/components/chat/Tags.svelte
+6
-1
No files found.
src/lib/components/chat/Tags.svelte
View file @
d4db3dd5
...
...
@@ -3,10 +3,11 @@
addTagById,
deleteTagById,
getAllChatTags,
getChatList,
getTagsById,
updateChatById
} from '$lib/apis/chats';
import { tags as _tags } from '$lib/stores';
import { tags as _tags
, chats
} from '$lib/stores';
import { onMount } from 'svelte';
import Tags from '../common/Tags.svelte';
...
...
@@ -40,6 +41,10 @@
});
_tags.set(await getAllChatTags(localStorage.token));
if (!$_tags.includes(tagName)) {
await chats.set(await getChatList(localStorage.token));
}
};
onMount(async () => {
...
...
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