Merge pull request #336 from ollama-webui/edit-message-fix

fix: edit message issue
This commit is contained in:
Timothy Jaeryang Baek 2024-01-01 14:51:10 -05:00 committed by GitHub
commit e2d74096f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -33,6 +33,8 @@
let speaking = null;
$: if (message) {
edit = false;
editedContent = '';
renderStyling();
}

View file

@ -39,6 +39,11 @@
edit = false;
editedContent = '';
};
$: if (message) {
edit = false;
editedContent = '';
}
</script>
<div class=" flex w-full">