git_panel: Fix amend check (#29059)
`is_some` -> `is_none` Release Notes: - N/A
This commit is contained in:
parent
c7fc95e732
commit
c585dbd8ff
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ impl CommitModal {
|
||||||
.active_repository
|
.active_repository
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.and_then(|repo| repo.read(cx).head_commit.as_ref())
|
.and_then(|repo| repo.read(cx).head_commit.as_ref())
|
||||||
.is_some()
|
.is_none()
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue