Arrows include audits
This commit is contained in:
@@ -80,7 +80,8 @@ struct ProjectView: View {
|
|||||||
guard let p = store.focusedProject() else {
|
guard let p = store.focusedProject() else {
|
||||||
return
|
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 {
|
if rows.isEmpty {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user