Improve UI for stashed branch header

This commit is contained in:
Mattias Granlund 2023-11-29 10:17:15 +01:00
parent e9bb16488f
commit 2548ced85c

View File

@ -56,11 +56,7 @@
> >
<span class="purple"> Apply </span> <span class="purple"> Apply </span>
</Button> </Button>
<IconButton <div class="flex items-center">
icon="cross"
title="delete branch"
on:click={() => deleteBranchModal.show(branch)}
/>
{#await branch.isMergeable then isMergeable} {#await branch.isMergeable then isMergeable}
{#if !isMergeable} {#if !isMergeable}
<Tooltip <Tooltip
@ -75,6 +71,12 @@
</Tooltip> </Tooltip>
{/if} {/if}
{/await} {/await}
<IconButton
icon="cross"
title="delete branch"
on:click={() => deleteBranchModal.show(branch)}
/>
</div>
</div> </div>
<div class="h-full"> <div class="h-full">
<BranchLane <BranchLane