forked from open-webui/open-webui
fix: share chat modal
This commit is contained in:
parent
dd9cbd0ab9
commit
c6296e5108
1 changed files with 4 additions and 2 deletions
|
@ -73,8 +73,10 @@
|
|||
export let show = false;
|
||||
|
||||
onMount(async () => {
|
||||
chat = await getChatById(localStorage.token, $chatId);
|
||||
console.log(chat);
|
||||
chatId.subscribe(async (value) => {
|
||||
chat = await getChatById(localStorage.token, value);
|
||||
console.log(chat);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue