From 15d1e636c4d8010371dd0adda7982ad2b5f11c0a Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 17 Jan 2023 22:35:14 +0100 Subject: [PATCH] fix: load project --- .../tasks/partials/singleTaskInProject.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/tasks/partials/singleTaskInProject.vue b/src/components/tasks/partials/singleTaskInProject.vue index e5b144f92..afa34f2a4 100644 --- a/src/components/tasks/partials/singleTaskInProject.vue +++ b/src/components/tasks/partials/singleTaskInProject.vue @@ -14,17 +14,17 @@ - {{ taskProject.title }} + v-tooltip="$t('task.detail.belongsToProject', {project: project.title})"> + {{ project.title }} - {{ taskProject.title }} + {{ project.title }} projectStore.getProjectById(task.value.projectId)) -const projectColor = computed(() => taskProject.value !== null ? taskProject.value.hexColor : '') +const project = computed(() => projectStore.getProjectById(task.value.projectId)) +const projectColor = computed(() => project.value !== null ? project.value.hexColor : '') const currentProject = computed(() => { return typeof baseStore.currentProject === 'undefined' ? {