mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix: imported note shows its text twice when two people open it at the same time (#33004)
A note imported from a .md or .txt file on the Notes page and not edited since showed all of its text twice when two people opened it at the same time, and the doubled text was then saved into the note. The shared editing session is now the only place that loads the text of such a note, the same as for notes that were already edited, so it opens once for everyone. Like an edited note, it now needs the live connection to show its text. Fixes #33002
This commit is contained in:
parent
e1e31973f0
commit
499b83fa8d
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@
|
|||
});
|
||||
}
|
||||
|
||||
$: if (value === null && html !== null && editor) {
|
||||
$: if (value === null && html !== null && editor && !provider) {
|
||||
editor.commands.setContent(html);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue