Client Tasks v1 (#8823)

* remove unused elements from tasks page

* remove components

* client: tasks: wip

* tasks: order, start styling them

* more tasks works

* habits controls

* more work

* tasks icons

* split columns in their own component

* implement tags for tasks

* wip

* add columns description
This commit is contained in:
Matteo Pagliazzi
2017-06-26 23:55:14 +02:00
committed by GitHub
parent 7c5bd526b1
commit 6fb4c1b576
30 changed files with 834 additions and 265 deletions

View File

@@ -47,7 +47,7 @@ export default new Vue({
// Mount the app when user and tasks are loaded
const userDataWatcher = this.$store.watch(state => [state.user.data, state.tasks.data], ([user, tasks]) => {
if (user && user._id && Array.isArray(tasks)) {
if (user && user._id && tasks && Array.isArray(tasks.habits)) {
userDataWatcher(); // remove the watcher
this.$mount('#app');
}