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