Fix undefined getter for related tasks

This commit is contained in:
kolaente 2020-05-09 23:32:04 +02:00
parent c2135338d3
commit 2ca8eef4f7
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -51,7 +51,7 @@
<router-link :to="{ name: $route.name, params: { id: t.id } }"> <router-link :to="{ name: $route.name, params: { id: t.id } }">
<span class="tasktext" :class="{ 'done': t.done}"> <span class="tasktext" :class="{ 'done': t.done}">
<span v-if="t.listId !== listId" class="different-list" v-tooltip="'This task belongs to a different list.'"> <span v-if="t.listId !== listId" class="different-list" v-tooltip="'This task belongs to a different list.'">
{{ $store.getters['namespaces/getListById'](t.listId).title }} > {{ $store.getters['namespaces/getListById'](t.listId) === null ? '' : $store.getters['namespaces/getListById'](t.listId).title }} >
</span> </span>
{{t.text}} {{t.text}}
</span> </span>