mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Fix a bug which is not showing dialog when user tries to export a snippet
This commit is contained in:
@@ -332,7 +332,8 @@ class NoteList extends React.Component {
|
|||||||
dialog.showMessageBox(remote.getCurrentWindow(), {
|
dialog.showMessageBox(remote.getCurrentWindow(), {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
message: 'Sorry!',
|
message: 'Sorry!',
|
||||||
detail: 'md/text import is available only a markdown note.'
|
detail: 'md/text import is available only a markdown note.',
|
||||||
|
buttons: ['OK', 'Cancel']
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user