refactor: merge identical match branches
All checks were successful
Rust / build (push) Successful in 7m16s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 2m5s
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
All checks were successful
Rust / build (push) Successful in 7m16s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 2m5s
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
This commit is contained in:
parent
b24005c3fe
commit
c1564807f8
1 changed files with 2 additions and 17 deletions
|
@ -52,24 +52,13 @@ impl<'a> RepoWidget<'a> {
|
||||||
alert,
|
alert,
|
||||||
branches,
|
branches,
|
||||||
log,
|
log,
|
||||||
} => InnerRepoWidget {
|
}
|
||||||
repo_alias,
|
| RepoState::Ready {
|
||||||
message,
|
|
||||||
alert: alert.as_ref().map(String::as_str),
|
|
||||||
branches: Some(branches),
|
|
||||||
log: Some(log),
|
|
||||||
},
|
|
||||||
|
|
||||||
RepoState::Ready {
|
|
||||||
repo_alias,
|
repo_alias,
|
||||||
message,
|
message,
|
||||||
alert,
|
alert,
|
||||||
branches,
|
branches,
|
||||||
log,
|
log,
|
||||||
// view_state,
|
|
||||||
// main,
|
|
||||||
// next,
|
|
||||||
// dev,
|
|
||||||
..
|
..
|
||||||
} => InnerRepoWidget {
|
} => InnerRepoWidget {
|
||||||
repo_alias,
|
repo_alias,
|
||||||
|
@ -77,10 +66,6 @@ impl<'a> RepoWidget<'a> {
|
||||||
alert: alert.as_ref().map(String::as_str),
|
alert: alert.as_ref().map(String::as_str),
|
||||||
branches: Some(branches),
|
branches: Some(branches),
|
||||||
log: Some(log),
|
log: Some(log),
|
||||||
// view_state,
|
|
||||||
// main,
|
|
||||||
// next,
|
|
||||||
// dev,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue