forked from open-webui/open-webui
Merge pull request #336 from ollama-webui/edit-message-fix
fix: edit message issue
This commit is contained in:
commit
e2d74096f5
2 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,8 @@
|
||||||
let speaking = null;
|
let speaking = null;
|
||||||
|
|
||||||
$: if (message) {
|
$: if (message) {
|
||||||
|
edit = false;
|
||||||
|
editedContent = '';
|
||||||
renderStyling();
|
renderStyling();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,11 @@
|
||||||
edit = false;
|
edit = false;
|
||||||
editedContent = '';
|
editedContent = '';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$: if (message) {
|
||||||
|
edit = false;
|
||||||
|
editedContent = '';
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class=" flex w-full">
|
<div class=" flex w-full">
|
||||||
|
|
Loading…
Reference in a new issue