git_panel: Fix buffer header checkbox not showing partially staged files (#42718)
Release Notes: - Fixed buffer header controls (staging checkbox) not showing partially staged files
This commit is contained in:
@@ -63,11 +63,7 @@ impl BranchDiff {
|
||||
window,
|
||||
move |this, _git_store, event, _window, cx| match event {
|
||||
GitStoreEvent::ActiveRepositoryChanged(_)
|
||||
| GitStoreEvent::RepositoryUpdated(
|
||||
_,
|
||||
RepositoryEvent::StatusesChanged { full_scan: _ },
|
||||
true,
|
||||
)
|
||||
| GitStoreEvent::RepositoryUpdated(_, RepositoryEvent::StatusesChanged, true)
|
||||
| GitStoreEvent::ConflictsUpdated => {
|
||||
cx.emit(BranchDiffEvent::FileListChanged);
|
||||
*this.update_needed.borrow_mut() = ();
|
||||
|
||||
Reference in New Issue
Block a user