diff --git a/src/views/Home.vue b/src/views/Home.vue index b960ef32..2d9005b0 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,22 +1,31 @@ diff --git a/src/views/list/views/List.vue b/src/views/list/views/List.vue index 8b1ef692..aba20f2e 100644 --- a/src/views/list/views/List.vue +++ b/src/views/list/views/List.vue @@ -170,6 +170,7 @@ import {saveListView} from '@/helpers/saveListView' import Rights from '../../../models/rights.json' import {mapState} from 'vuex' import FilterPopup from '@/components/list/partials/filter-popup' +import {HAS_TASKS} from '@/store/mutation-types' export default { name: 'List', @@ -322,6 +323,7 @@ export default { this.taskService.update(task) .then(updatedTask => { this.updateTasks(updatedTask) + this.$store.commit(HAS_TASKS, true) }) .catch(e => { this.error(e, this) diff --git a/src/views/tasks/ShowTasks.vue b/src/views/tasks/ShowTasks.vue index a8951767..644959f1 100644 --- a/src/views/tasks/ShowTasks.vue +++ b/src/views/tasks/ShowTasks.vue @@ -8,8 +8,8 @@ > Show tasks without dates -

Current tasks

-

+

Current tasks

+

Tasks from