forked from janek/mostr
1
0
Fork 0

enhance(tasks): inherit displayed priority

This commit is contained in:
xeruf 2024-11-11 21:56:29 +01:00
parent 15a2ffd7e6
commit 55d42fc52c
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ impl TasksRelay {
"progress" => prog_string.clone(),
"author" | "creator" => format!("{:.6}", self.get_username(&task.event.pubkey)), // FIXME temporary until proper column alignment
"prio" => task.priority_raw().map(|p| p.to_string()).unwrap_or_else(||
"prio" => self.traverse_up_from(Some(*task.get_id())).find_map(Task::priority_raw).map(|p| p.to_string()).unwrap_or_else(||
if self.priority.is_some() {
DEFAULT_PRIO.to_string().dimmed().to_string()
} else {