mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
refac
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user