Arrows include audits

This commit is contained in:
Ian Gulliver
2026-10-20 23:04:59 -07:00
parent ace85f448a
commit f44212c120
+2 -1
View File
@@ -80,7 +80,8 @@ struct ProjectView: View {
guard let p = store.focusedProject() else {
return
}
let rows = nested(store, (store.tasks[p.id] ?? []).filter { $0.status == .active && !$0.background }).map(\.task.id)
let active = (store.tasks[p.id] ?? []).filter { $0.status == .active }
let rows = nested(store, active.filter { !$0.background }).map(\.task.id) + active.filter(\.background).map(\.id)
if rows.isEmpty {
return
}