mirror of
https://github.com/open-webui/open-webui
synced 2025-03-04 11:29:59 +00:00
refac
This commit is contained in:
parent
fcbdfbd744
commit
0a4dbf7cf0
@ -123,6 +123,8 @@
|
|||||||
if (contents.length === 0) {
|
if (contents.length === 0) {
|
||||||
showControls.set(false);
|
showControls.set(false);
|
||||||
showArtifacts.set(false);
|
showArtifacts.set(false);
|
||||||
|
|
||||||
|
toast.error($i18n.t('No HTML, CSS, or JavaScript content found.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
selectedContentIdx = contents ? contents.length - 1 : 0;
|
selectedContentIdx = contents ? contents.length - 1 : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user