diff --git a/src/views/list/views/List.vue b/src/views/list/views/List.vue index 1092eea97..c05d953e8 100644 --- a/src/views/list/views/List.vue +++ b/src/views/list/views/List.vue @@ -99,7 +99,7 @@ task-detail-route="task.detail" v-for="t in tasks" > - +
state.currentList.maxRight > Rights.READ, - list: state => state.currentList, - }), + canWrite() { + return this.list.maxRight > Rights.READ && this.list.id > 0 + }, + list() { + return this.$store.state.currentList + }, }, mounted() { this.$nextTick(() => (this.ctaVisible = true))