mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 01:22:12 +03:00
updateBranchOrder refreshes branches list
This commit is contained in:
parent
09718c5c4b
commit
56cd409d85
@ -132,7 +132,11 @@ function updateBranchOrder(
|
||||
return invoke<object>('update_virtual_branch', {
|
||||
projectId: projectId,
|
||||
branch: { id: branchId, order }
|
||||
}).catch(() => {
|
||||
})
|
||||
.then(() => {
|
||||
refresh(projectId, writable);
|
||||
})
|
||||
.catch(() => {
|
||||
error('Unable to update branch order!');
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user