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