Fix button that takes you back to integration branch

This commit is contained in:
Mattias Granlund 2023-11-03 11:35:33 +00:00
parent 91dd37e570
commit 58a74873fe

View File

@ -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');
}