Fix: remove redundant ui text filters (#14736)

This commit is contained in:
shamoon authored and GitHub committed 2026-11-10 18:06:51 -08:00
1 parent cc65226d6d
commit fefce7be1b
2 files changed
+60 -19

No files matched your search

@@ -630,23 +630,8 @@ export class TasksComponent
return false
}
if (!this._filterText.length) {
return true
}
const query = this._filterText.toLowerCase()
if (this.filterTargetID == TaskFilterTargetID.Name) {
return [
this.taskDisplayName(task),
task.task_type_display,
task.trigger_source_display,
]
.filter(Boolean)
.some((value) => value.toLowerCase().includes(query))
}
return this.taskResultMessage(task)?.toLowerCase().includes(query) ?? false
// Text filtering now handled API-side
return true
}
private tasksForOptionCounts({