forked from janek/mostr
fix(main): hide Quick Access in a custom search
Matching items are included anyway
This commit is contained in:
parent
ae525c870f
commit
8f0a169677
|
@ -1191,6 +1191,7 @@ impl Display for TasksRelay {
|
|||
|
||||
let tree = current.iter().flat_map(|task| self.traverse_up_from(Some(task.event.id))).unique();
|
||||
let ids: HashSet<&EventId> = tree.map(|t| t.get_id()).chain(position).collect();
|
||||
if self.view.is_empty() {
|
||||
let mut bookmarks =
|
||||
// TODO add recent tasks (most time tracked + recently created)
|
||||
self.bookmarks.iter()
|
||||
|
@ -1213,6 +1214,7 @@ impl Display for TasksRelay {
|
|||
)?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO proper column alignment
|
||||
// TODO hide empty columns
|
||||
|
|
Loading…
Reference in New Issue