mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-30 06:43:48 +00:00
refac
This commit is contained in:
parent
f6f42b0111
commit
bb10ca4719
1 changed files with 2 additions and 1 deletions
|
|
@ -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={() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue