feat: task path column

This commit is contained in:
xeruf 2024-07-19 01:29:36 +03:00
parent 2dbfecc4c5
commit 91e04f2c16
1 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,10 @@ impl Tasks {
"{}",
self.properties
.iter()
.map(|p| task.get(p).unwrap_or(String::new()))
.map(|p| match p.as_str() {
"path" => self.taskpath(Some(task.event.id)),
prop => task.get(prop).unwrap_or(String::new()),
})
.collect::<Vec<String>>()
.join(" ")
);