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
fcbdfbd744
commit
0a4dbf7cf0
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue