فهرست منبع

fix: chat download as plain text issue

Timothy J. Baek 8 ماه پیش
والد
کامیت
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'
 		});
 
-		saveAs(blob, `chat-${_chat.title}.txt`);
+		saveAs(blob, `chat-${chat.chat.title}.txt`);
 	};
 
 	const downloadPdf = async () => {