mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-04 15:53:30 +03:00
Fix button that takes you back to integration branch
This commit is contained in:
parent
91dd37e570
commit
58a74873fe
@ -21,6 +21,8 @@ export class BranchController {
|
||||
try {
|
||||
await invoke<BaseBranch>('set_base_branch', { projectId: this.projectId, branch });
|
||||
await this.targetBranchStore.reload();
|
||||
// TODO: Reloading seems to trigger 4 invocations of `list_virtual_branches`
|
||||
await this.virtualBranchStore.reload();
|
||||
} catch (err) {
|
||||
toasts.error('Failed to set base branch');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user