Skip to content

Commit 4f045dc

Browse files
PavelLaptevgitbutler-client
authored andcommitted
disable draggable icon for unapplied commits
1 parent fa68896 commit 4f045dc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

apps/desktop/src/lib/commit/CommitCard.svelte

+6-4
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,12 @@
232232
class:integrated={type === 'integrated'}
233233
></div>
234234

235-
{#if type === 'local' || type === 'localAndRemote'}
236-
<div class="commit__drag-icon">
237-
<Icon name="draggable-narrow" />
238-
</div>
235+
{#if !isPreview}
236+
{#if type === 'local' || type === 'localAndRemote'}
237+
<div class="commit__drag-icon">
238+
<Icon name="draggable-narrow" />
239+
</div>
240+
{/if}
239241
{/if}
240242

241243
{#if first}

0 commit comments

Comments
 (0)