mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
refac
This commit is contained in:
parent
961869a60c
commit
0d09e46281
1 changed files with 4 additions and 4 deletions
|
|
@ -154,11 +154,11 @@
|
||||||
}, [])}
|
}, [])}
|
||||||
{onSourceClick}
|
{onSourceClick}
|
||||||
{onTaskClick}
|
{onTaskClick}
|
||||||
onUpdate={(e) => {
|
onUpdate={(value) => {
|
||||||
dispatch('update', e.detail);
|
dispatch('update', value);
|
||||||
}}
|
}}
|
||||||
onCode={(e) => {
|
onCode={(value) => {
|
||||||
const { lang, code } = e.detail;
|
const { lang, code } = value;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
($settings?.detectArtifacts ?? true) &&
|
($settings?.detectArtifacts ?? true) &&
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue