Don't error when clicking a virtual branch and going to workspace

This commit is contained in:
Caleb Owens 2024-08-06 13:33:10 +02:00
parent 22762745e3
commit 2902721367

View File

@ -33,6 +33,7 @@
if (branchListing) {
if (branchListing.virtualBranch?.inWorkspace) {
goto(`/${project.id}/board`);
return;
}
const branchesWithGivenName: Branch[] | undefined = branchesByGivenName[branchListing.name];