feature/review-add-select #5

Merged
kjuulh merged 4 commits from feature/review-add-select into feature/review 2023-01-11 22:40:45 +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),