1
0

Add clearer call to action when no lists are available yet

This commit is contained in:
kolaente
2021-01-17 20:53:09 +01:00
parent 2139d4d528
commit 427a702bd4
3 changed files with 33 additions and 8 deletions

View File

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