fix: delete branch instead of applying branch

This commit is contained in:
Mattias Granlund 2024-02-01 18:22:23 +01:00
parent 79e0cc7c2f
commit 78296f76b0

View File

@ -177,7 +177,7 @@
on:click={async () => {
isDeleting = true;
try {
await branchController.applyBranch(branch.id);
await branchController.deleteBranch(branch.id);
goto(`/${projectId}/board`);
} catch (e) {
const err = 'Failed to delete branch';