From 66c7a05cdb03ae728ddc7a6f22954568dea04f89 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 29 Sep 2023 20:46:02 +0200 Subject: [PATCH] fix(project): correctly show project color next to project title in list view Resolves https://community.vikunja.io/t/color-bubbles-not-showing-after-import/1648 --- .../tasks/partials/singleTaskInProject.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/tasks/partials/singleTaskInProject.vue b/src/components/tasks/partials/singleTaskInProject.vue index 942619fd2..980b97175 100644 --- a/src/components/tasks/partials/singleTaskInProject.vue +++ b/src/components/tasks/partials/singleTaskInProject.vue @@ -12,7 +12,7 @@ /> @@ -107,8 +107,14 @@ {{ task.percentDone * 100 }}% + + () @@ -232,6 +235,8 @@ const taskStore = useTaskStore() const project = computed(() => projectStore.projects[task.value.projectId]) const projectColor = computed(() => project.value ? project.value?.hexColor : '') +const showProjectSeparately = computed(() => !showProject && currentProject.value?.id !== task.value.projectId && project.value) + const currentProject = computed(() => { return typeof baseStore.currentProject === 'undefined' ? { id: 0,