feature/review #6

Merged
kjuulh merged 5 commits from feature/review into main 2023-01-11 22:45:17 +01:00
Showing only changes of commit 784329a703 - Show all commits

View File

@ -46,7 +46,7 @@ impl Review {
Cell::new("title").add_attribute(comfy_table::Attribute::Bold), Cell::new("title").add_attribute(comfy_table::Attribute::Bold),
Cell::new("number").add_attribute(comfy_table::Attribute::Bold), Cell::new("number").add_attribute(comfy_table::Attribute::Bold),
]) ])
.add_rows(prs.iter().map(|pr| { .add_rows(prs.iter().take(20).map(|pr| {
let pr = pr.clone(); let pr = pr.clone();
vec![ vec![
Cell::new(pr.repository.name).fg(comfy_table::Color::Green), Cell::new(pr.repository.name).fg(comfy_table::Color::Green),