add a crude branch delete button

This commit is contained in:
Kiril Videlov 2023-07-01 10:52:42 +02:00 committed by Kiril Videlov
parent f5586aa22d
commit 30a99b0bbe

View File

@ -193,6 +193,15 @@
}}
on:consider={handleDndEvent}
on:finalize={handleDndEvent}
>
<Button
width="basic"
kind="outlined"
height="small"
color="destructive"
on:click={() => {
virtualBranches.deleteBranch(branchId);
}}>delete</Button
>
{#each files.filter((x) => x.hunks) as file (file.id)}
<FileCard