浏览代码

fix: chat download as plain text issue

Timothy J. Baek 7 月之前
父节点
当前提交
e599d5db3c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/components/layout/Navbar/Menu.svelte

+ 1 - 1
src/lib/components/layout/Navbar/Menu.svelte

@@ -46,7 +46,7 @@
 			type: 'text/plain'
 			type: 'text/plain'
 		});
 		});
 
 
-		saveAs(blob, `chat-${_chat.title}.txt`);
+		saveAs(blob, `chat-${chat.chat.title}.txt`);
 	};
 	};
 
 
 	const downloadPdf = async () => {
 	const downloadPdf = async () => {