From 2af2d715402db7b82f6dd2dde3609ca663fe5f31 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Sat, 23 Sep 2017 00:27:15 +0900 Subject: [PATCH] Rename addNotes to addNotesFromFiles --- browser/main/NoteList/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 9a5d35b8..e885bf29 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -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) => {