mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
refac
This commit is contained in:
parent
c90cd6019a
commit
f5e10704c0
@ -73,7 +73,7 @@
|
||||
on:code={(e) => {
|
||||
const { lang } = e.detail;
|
||||
console.log('code', lang);
|
||||
if (lang === 'html') {
|
||||
if (['html', 'svg'].includes(lang)) {
|
||||
showArtifacts.set(true);
|
||||
showControls.set(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user