From d706a5d8ccfcebe3993aca01400bbb7794f6e700 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 30 May 2021 18:06:53 +0200 Subject: [PATCH] Show list title when searching for tasks --- src/components/quick-actions/quick-actions.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/quick-actions/quick-actions.vue b/src/components/quick-actions/quick-actions.vue index 0eceef81c..9742fb354 100644 --- a/src/components/quick-actions/quick-actions.vue +++ b/src/components/quick-actions/quick-actions.vue @@ -222,6 +222,11 @@ export default { .then(r => { r = r.map(t => { 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 }) this.$set(this, 'foundTasks', r)