Show list title when searching for tasks
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
1020f56f17
commit
d706a5d8cc
|
@ -222,6 +222,11 @@ export default {
|
||||||
.then(r => {
|
.then(r => {
|
||||||
r = r.map(t => {
|
r = r.map(t => {
|
||||||
t.type = TYPE_TASK
|
t.type = TYPE_TASK
|
||||||
|
const list = this.$store.getters['lists/getListById'](t.listId) === null ? null : this.$store.getters['lists/getListById'](t.listId)
|
||||||
|
if (list !== null) {
|
||||||
|
t.title = `${t.title} (${list.title})`
|
||||||
|
}
|
||||||
|
|
||||||
return t
|
return t
|
||||||
})
|
})
|
||||||
this.$set(this, 'foundTasks', r)
|
this.$set(this, 'foundTasks', r)
|
||||||
|
|
Reference in New Issue