text -> task
This commit is contained in:
parent
57e484a44f
commit
ac5ce582b5
@ -692,7 +692,7 @@ function getTodosFromAPI() {
|
||||
for (let todo of jso.todos) {
|
||||
console.log(todo)
|
||||
// function addTask(defaultTimeRange="", defaultTaskText="New Task", editable=true) {
|
||||
addTask(defaultTimeRange=todo.time, defaultTaskText=todo.text, editable=false)
|
||||
addTask(defaultTimeRange=todo.time, defaultTaskText=todo.task, editable=false)
|
||||
}
|
||||
})
|
||||
// var items = JSON.parse(re.json())
|
||||
|
Loading…
Reference in New Issue
Block a user