mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-02 07:53:55 +03:00
fix: update fetch order to first sync to cloud and then fetch from target
This commit is contained in:
parent
3be483085a
commit
9e37883aaa
@ -23,7 +23,9 @@
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
fetching = true;
|
||||
await Promise.allSettled([branchController.fetchFromTarget(), syncToCloud(projectId)])
|
||||
syncToCloud(projectId); // don't wait for this
|
||||
await branchController
|
||||
.fetchFromTarget()
|
||||
.then(() => prService.reload())
|
||||
.finally(() => {
|
||||
fetching = false;
|
||||
|
Loading…
Reference in New Issue
Block a user