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
eca59f75
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "6005b157c261b2528df33d01b275b666ff5c2c4a"
Commit
eca59f75
authored
Apr 02, 2024
by
Timothy J. Baek
Browse files
fix: share chat modal
parent
9975cb17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/lib/components/chat/ShareChatModal.svelte
src/lib/components/chat/ShareChatModal.svelte
+4
-2
No files found.
src/lib/components/chat/ShareChatModal.svelte
View file @
eca59f75
...
@@ -73,8 +73,10 @@
...
@@ -73,8 +73,10 @@
export let show = false;
export let show = false;
onMount(async () => {
onMount(async () => {
chat = await getChatById(localStorage.token, $chatId);
chatId.subscribe(async (value) => {
console.log(chat);
chat = await getChatById(localStorage.token, value);
console.log(chat);
});
});
});
</script>
</script>
...
...
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