Skip to content

Commit

Permalink
Rename addNotes to addNotesFromFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
asmsuechan committed Sep 22, 2017
1 parent 6aaf9d9 commit 2af2d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/main/NoteList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class NoteList extends React.Component {
}

dialog.showOpenDialog(remote.getCurrentWindow(), options, (filepaths) => {
this.addNotes(filepaths)
this.addNotesFromFiles(filepaths)
})
}

Expand All @@ -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) => {
Expand Down

0 comments on commit 2af2d71

Please sign in to comment.