mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
fix
This commit is contained in:
parent
e9d14601a1
commit
01f622866f
@ -279,14 +279,14 @@
|
|||||||
editedContent = '';
|
editedContent = '';
|
||||||
|
|
||||||
await tick();
|
await tick();
|
||||||
renderStyling();
|
renderLatex();
|
||||||
};
|
};
|
||||||
|
|
||||||
const cancelEditMessage = async () => {
|
const cancelEditMessage = async () => {
|
||||||
edit = false;
|
edit = false;
|
||||||
editedContent = '';
|
editedContent = '';
|
||||||
await tick();
|
await tick();
|
||||||
renderStyling();
|
renderLatex();
|
||||||
};
|
};
|
||||||
|
|
||||||
const generateImage = async (message) => {
|
const generateImage = async (message) => {
|
||||||
@ -311,7 +311,7 @@
|
|||||||
$: if (!edit) {
|
$: if (!edit) {
|
||||||
(async () => {
|
(async () => {
|
||||||
await tick();
|
await tick();
|
||||||
renderStyling();
|
renderLatex();
|
||||||
|
|
||||||
await mermaid.run({
|
await mermaid.run({
|
||||||
querySelector: '.mermaid'
|
querySelector: '.mermaid'
|
||||||
@ -321,7 +321,7 @@
|
|||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
await tick();
|
await tick();
|
||||||
renderStyling();
|
renderLatex();
|
||||||
|
|
||||||
await mermaid.run({
|
await mermaid.run({
|
||||||
querySelector: '.mermaid'
|
querySelector: '.mermaid'
|
||||||
|
Loading…
Reference in New Issue
Block a user