fixes bug with hidden uneditable commit messages

This commit is contained in:
Scott Chacon 2024-04-29 17:34:44 +02:00
parent 27480c503e
commit 698791ba08

View File

@ -116,7 +116,8 @@
</div>
{/if}
<div class="commit__row">
{#if isUndoable && !showFiles}
{#if isUndoable}
{#if !showFiles}
{#if commit.descriptionTitle}
<span class="commit__title text-semibold text-base-12" class:truncate={!showFiles}>
{commit.descriptionTitle}
@ -141,6 +142,11 @@
}}>Undo</Tag
>
{/if}
{:else}
<span class="commit__title text-base-12" class:truncate={!showFiles}>
{commit.descriptionTitle}
</span>
{/if}
</div>
</div>
<div class="commit__row">