build error fix

This commit is contained in:
2026-02-19 17:25:17 -06:00
parent 1618b3bf92
commit 96ee1168b1
+1 -1
View File
@@ -455,7 +455,7 @@ const shouldTaskBeVisible = (task: any, currentUserId: string): boolean => {
// We ignore the rule.ownerId check (which would match the task.user) // We ignore the rule.ownerId check (which would match the task.user)
// and instead match purely on the tag. // and instead match purely on the tag.
if (rule.ownerId === rule.targetUserId && rule.type === '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()); return tags.some(t => t.toLowerCase() === (rule.tagName || "").toLowerCase());
} }