Timothy Jaeryang Baek 2 月之前
父節點
當前提交
0a4dbf7cf0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/lib/components/chat/Artifacts.svelte

+ 2 - 0
src/lib/components/chat/Artifacts.svelte

@@ -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;