git_panel: Fix amend check (#29059)
`is_some` -> `is_none` Release Notes: - N/A
This commit is contained in:
@@ -545,7 +545,7 @@ impl CommitModal {
|
||||
.active_repository
|
||||
.as_ref()
|
||||
.and_then(|repo| repo.read(cx).head_commit.as_ref())
|
||||
.is_some()
|
||||
.is_none()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user