1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-23 22:51:42 +00:00

add FolderSelect

This commit is contained in:
Dick Choi
2016-05-31 14:29:01 +09:00
parent 549930b48c
commit 4fdb72f93c
7 changed files with 376 additions and 29 deletions

View File

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