mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Rename addNotes to addNotesFromFiles
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user