fix: related task with the same namespace
This commit is contained in:
parent
a5b0a834bc
commit
00ffe17eb8
1 changed files with 2 additions and 1 deletions
|
@ -274,10 +274,11 @@ export default {
|
||||||
return tasks
|
return tasks
|
||||||
.map(task => {
|
.map(task => {
|
||||||
// by doing this here once we can save a lot of duplicate calls in the template
|
// by doing this here once we can save a lot of duplicate calls in the template
|
||||||
|
const listAndNamespace = this.$store.getters['namespaces/getListAndNamespaceById'](task.listId, true)
|
||||||
const {
|
const {
|
||||||
list,
|
list,
|
||||||
namespace,
|
namespace,
|
||||||
} = this.$store.getters['namespaces/getListAndNamespaceById'](task.listId, true)
|
} = listAndNamespace === null ? {list: null, namespace: null} : listAndNamespace
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...task,
|
...task,
|
||||||
|
|
Loading…
Reference in a new issue