diff --git a/gitbutler-ui/src/lib/components/CommitCard.svelte b/gitbutler-ui/src/lib/components/CommitCard.svelte index 64fa27b8b..512df1986 100644 --- a/gitbutler-ui/src/lib/components/CommitCard.svelte +++ b/gitbutler-ui/src/lib/components/CommitCard.svelte @@ -39,6 +39,9 @@ showFiles = !showFiles; if (showFiles) loadFiles(); } + + const isUndoable = isHeadCommit && !isUnapplied; + const hasCommitUrl = !commit.isLocal && commitUrl;