cleaned some code Promise...

This commit is contained in:
Paolo Arena
2019-02-14 21:36:16 +01:00
parent 1f830b3e98
commit 1af2c86067
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
APP_VERSION="DEV 0.0.27"
APP_VERSION="DEV 0.0.30"
SERVICE_WORKER_FILE='service-worker.js'
APP_ID='1'
APP_URL='https://freeplanet.app'

View File

@@ -35,7 +35,7 @@
:after="[{icon: 'arrow_forward', content: true, handler () {}}]"
v-on:keyup.enter="insertTodo"/>
<!--{{ tmpstrTodos }}-->
{{ tmpstrTodos }}
<div class="flex-item btn-item">
<q-btn class="mybtn" round color="" icon="lock" @click="getArrTodos">Get Todo</q-btn>

View File

@@ -201,7 +201,7 @@ namespace Actions {
// console.log('******* UPDATE TODOS.STATE.TODOS !:', res.todos)
if (body.todos) {
state.todos = [...body.todos]
// Todos.mutations.setTodos_changed()
Todos.mutations.setTodos_changed()
}
console.log('********** res', 'state.todos', state.todos, 'checkPending', checkPending)