1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Rename addNotes to addNotesFromFiles

This commit is contained in:
asmsuechan
2017-09-23 00:27:15 +09:00
parent 6aaf9d9eb2
commit 2af2d71540

View File

@@ -349,7 +349,7 @@ class NoteList extends React.Component {
}
dialog.showOpenDialog(remote.getCurrentWindow(), options, (filepaths) => {
this.addNotes(filepaths)
this.addNotesFromFiles(filepaths)
})
}
@@ -361,7 +361,7 @@ class NoteList extends React.Component {
}
// Add notes in the current folder
addNotes (filepaths) {
addNotesFromFiles (filepaths) {
const { dispatch, location } = this.props
const targetIndex = _.findIndex(this.notes, (note) => {