mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-09 23:48:36 +01:00
stop typer on chat change
This commit is contained in:
@@ -152,6 +152,8 @@ async function openChat(chat_id?: string) {
|
|||||||
menuOpen.value = false;
|
menuOpen.value = false;
|
||||||
if (!project.value) return;
|
if (!project.value) return;
|
||||||
|
|
||||||
|
typer.stop();
|
||||||
|
|
||||||
currentChatMessages.value = [];
|
currentChatMessages.value = [];
|
||||||
currentChatMessageDelta.value = '';
|
currentChatMessageDelta.value = '';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user