From bf590b5614591e07731049aee2d7eb5a9a2b9b1b Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Sat, 23 Sep 2017 12:29:08 +0900 Subject: [PATCH] Fix typo addNotes to addNotesFromFiles --- browser/main/NoteList/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 9f1c52af..c1441322 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -357,7 +357,7 @@ class NoteList extends React.Component { e.preventDefault() const { location } = this.props const filepaths = Array.from(e.dataTransfer.files).map(file => { return file.path }) - if (!location.pathname.match(/\/trashed/)) this.addNotes(filepaths) + if (!location.pathname.match(/\/trashed/)) this.addNotesFromFiles(filepaths) } // Add notes to the current folder