mirror of
https://github.com/desktop/desktop
synced 2024-11-05 20:49:32 +00:00
Load Status after abort to ensure working directory refreshed
This commit is contained in:
parent
4b8f0afc45
commit
29c23c029c
1 changed files with 1 additions and 0 deletions
|
@ -2642,6 +2642,7 @@ export class Dispatcher {
|
|||
/** Aborts an ongoing cherry pick and switches back to the source branch. */
|
||||
public async abortCherryPick(repository: Repository, sourceBranch: Branch) {
|
||||
await this.appStore._abortCherryPick(repository, sourceBranch)
|
||||
await this.appStore._loadStatus(repository)
|
||||
this.appStore._endCherryPickFlow(repository)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue