mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-24 06:20:20 -05:00
refac
This commit is contained in:
1 parent
f6f42b0111
commit
bb10ca4719
1 file changed
+2
-1
@@ -569,9 +569,10 @@
|
||||
{#if !collapsed}
|
||||
{#if isDiff && !(edit && editingDiff)}
|
||||
<DiffBlock code={_code} />
|
||||
{:else if edit}
|
||||
{:else if edit || markdown?.allowRemoteContent === false}
|
||||
<CodeEditor
|
||||
value={_code}
|
||||
readOnly={!edit}
|
||||
{id}
|
||||
{lang}
|
||||
onSave={() => {
|
||||
|
||||
Reference in new issue
Block a user