mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix
This commit is contained in:
parent
e9d14601a1
commit
01f622866f
1 changed files with 4 additions and 4 deletions
|
|
@ -279,14 +279,14 @@
|
|||
editedContent = '';
|
||||
|
||||
await tick();
|
||||
renderStyling();
|
||||
renderLatex();
|
||||
};
|
||||
|
||||
const cancelEditMessage = async () => {
|
||||
edit = false;
|
||||
editedContent = '';
|
||||
await tick();
|
||||
renderStyling();
|
||||
renderLatex();
|
||||
};
|
||||
|
||||
const generateImage = async (message) => {
|
||||
|
|
@ -311,7 +311,7 @@
|
|||
$: if (!edit) {
|
||||
(async () => {
|
||||
await tick();
|
||||
renderStyling();
|
||||
renderLatex();
|
||||
|
||||
await mermaid.run({
|
||||
querySelector: '.mermaid'
|
||||
|
|
@ -321,7 +321,7 @@
|
|||
|
||||
onMount(async () => {
|
||||
await tick();
|
||||
renderStyling();
|
||||
renderLatex();
|
||||
|
||||
await mermaid.run({
|
||||
querySelector: '.mermaid'
|
||||
|
|
|
|||
Loading…
Reference in a new issue