mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-30 04:58:55 +03:00
discard
file copy update
This commit is contained in:
parent
739da32243
commit
2959840c3f
@ -26,9 +26,9 @@
|
|||||||
<ContextMenuSection>
|
<ContextMenuSection>
|
||||||
{#if item.files !== undefined}
|
{#if item.files !== undefined}
|
||||||
{#if containsBinaryFiles(item)}
|
{#if containsBinaryFiles(item)}
|
||||||
<ContextMenuItem label="Discard (Binary files not yet supported)" disabled />
|
<ContextMenuItem label="Discard file (Binary files not yet supported)" disabled />
|
||||||
{:else}
|
{:else}
|
||||||
<ContextMenuItem label="Discard" on:click={() => confirmationModal.show(item)} />
|
<ContextMenuItem label="Discard file" on:click={() => confirmationModal.show(item)} />
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</ContextMenuSection>
|
</ContextMenuSection>
|
||||||
|
Loading…
Reference in New Issue
Block a user