fix: add complexity score to tm list and tm show (#1270)

This commit is contained in:
Ralph Khreish
2025-10-03 18:47:05 +02:00
committed by GitHub
parent f1393f47b1
commit 20004a39ea
14 changed files with 411 additions and 34 deletions

View File

@@ -397,16 +397,6 @@ export class TaskService {
}
}
// Complexity filter
if (filter.complexity) {
const complexities = Array.isArray(filter.complexity)
? filter.complexity
: [filter.complexity];
if (!task.complexity || !complexities.includes(task.complexity)) {
return false;
}
}
// Search filter
if (filter.search) {
const searchLower = filter.search.toLowerCase();