1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #2383 from ehhc/exportMDexportsAttachments

export folder should also export the attachments -> fixes #2374
This commit is contained in:
Junyoung Choi (Sai)
2018-12-03 17:15:02 +09:00
committed by GitHub
6 changed files with 46 additions and 49 deletions

View File

@@ -204,6 +204,20 @@ class StorageItem extends React.Component {
folderKey: data.folderKey,
fileType: data.fileType
})
return data
})
.then(data => {
dialog.showMessageBox(remote.getCurrentWindow(), {
type: 'info',
message: 'Exported to "' + data.exportDir + '"'
})
})
.catch(err => {
dialog.showErrorBox(
'Export error',
err ? err.message || err : 'Unexpected error during export'
)
throw err
})
}
})