1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

export styles of code blocks

This commit is contained in:
Baptiste Augrain
2018-12-15 12:42:39 +01:00
parent 418a789568
commit d76b7235db
8 changed files with 179 additions and 46 deletions

View File

@@ -230,20 +230,6 @@ 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
})
.catch(error => {
dialog.showErrorBox(