parent
8f4b7aa5db
commit
6c025507b6
1 changed files with 31 additions and 31 deletions
|
@ -2243,9 +2243,9 @@ impl GitPanel {
|
|||
|
||||
pub(crate) fn render_co_authors(&self, cx: &Context<Self>) -> Option<AnyElement> {
|
||||
let potential_co_authors = self.potential_co_authors(cx);
|
||||
// if potential_co_authors.is_empty() {
|
||||
// None
|
||||
// } else {
|
||||
if potential_co_authors.is_empty() {
|
||||
None
|
||||
} else {
|
||||
Some(
|
||||
IconButton::new("co-authors", IconName::Person)
|
||||
.shape(ui::IconButtonShape::Square)
|
||||
|
@ -2273,7 +2273,7 @@ impl GitPanel {
|
|||
}))
|
||||
.into_any_element(),
|
||||
)
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
pub fn configure_commit_button(&self, cx: &mut Context<Self>) -> (bool, &'static str) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue