save conversation as txt (originally in md)

This commit is contained in:
josc146 2023-07-15 22:12:59 +08:00
parent e2fc57ac24
commit 652c35322b

View File

@ -421,7 +421,7 @@ const ChatPanel: FC = observer(() => {
}
});
OpenSaveFileDialog('*.md', 'conversation.md', savedContent).then((path) => {
OpenSaveFileDialog('*.txt', 'conversation.txt', savedContent).then((path) => {
if (path)
toastWithButton(t('Conversation Saved'), t('Open'), () => {
OpenFileFolder(path, false);