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

export folder should also export the attachments -> fixes #2374

This commit is contained in:
ehhc
2018-09-09 17:41:51 +02:00
parent fdfa3bb8f5
commit d79b6e094a
6 changed files with 46 additions and 49 deletions

View File

@@ -164,6 +164,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
})
}
})