mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-05 17:15:19 +03:00
fix: delete branch instead of applying branch
This commit is contained in:
parent
79e0cc7c2f
commit
78296f76b0
@ -177,7 +177,7 @@
|
|||||||
on:click={async () => {
|
on:click={async () => {
|
||||||
isDeleting = true;
|
isDeleting = true;
|
||||||
try {
|
try {
|
||||||
await branchController.applyBranch(branch.id);
|
await branchController.deleteBranch(branch.id);
|
||||||
goto(`/${projectId}/board`);
|
goto(`/${projectId}/board`);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
const err = 'Failed to delete branch';
|
const err = 'Failed to delete branch';
|
||||||
|
Loading…
Reference in New Issue
Block a user