feat : include collaborator tasks in dashboard, my-tasks, and project filters

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-04-09 09:57:30 +02:00
parent 21e9d2cab4
commit fa7bb27ef5
3 changed files with 30 additions and 14 deletions

View File

@@ -172,7 +172,10 @@ const totalHoursThisWeek = computed(() =>
)
const myTasks = computed(() =>
tasks.value.filter(t => t.assignee?.id === auth.user?.id)
tasks.value.filter(t =>
t.assignee?.id === auth.user?.id
|| t.collaborators?.some(c => c.id === auth.user?.id)
)
)
const myTasksDone = computed(() =>