diff --git a/src/store/index.ts b/src/store/index.ts index fd4ab77..157fccd 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -455,7 +455,7 @@ const shouldTaskBeVisible = (task: any, currentUserId: string): boolean => { // We ignore the rule.ownerId check (which would match the task.user) // and instead match purely on the tag. if (rule.ownerId === rule.targetUserId && rule.type === 'tag') { - const tags = task.tags || []; + const tags: string[] = task.tags || []; return tags.some(t => t.toLowerCase() === (rule.tagName || "").toLowerCase()); }