mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-23 22:51:42 +00:00
add FolderSelect
This commit is contained in:
@@ -4,6 +4,7 @@ import _ from 'lodash'
|
||||
let tasks = []
|
||||
|
||||
function _save (task, repoKey, note) {
|
||||
note = Object.assign({}, note)
|
||||
delete note._repository
|
||||
|
||||
task.status = 'process'
|
||||
@@ -15,7 +16,6 @@ function _save (task, repoKey, note) {
|
||||
})
|
||||
.then((note) => {
|
||||
tasks.splice(tasks.indexOf(task), 1)
|
||||
console.log(tasks)
|
||||
console.info('Note saved', note)
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user