mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 21:35:19 +00:00
refac
This commit is contained in:
parent
c90cd6019a
commit
f5e10704c0
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@
|
||||||
on:code={(e) => {
|
on:code={(e) => {
|
||||||
const { lang } = e.detail;
|
const { lang } = e.detail;
|
||||||
console.log('code', lang);
|
console.log('code', lang);
|
||||||
if (lang === 'html') {
|
if (['html', 'svg'].includes(lang)) {
|
||||||
showArtifacts.set(true);
|
showArtifacts.set(true);
|
||||||
showControls.set(true);
|
showControls.set(true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue