fix: show diverged commitId in diverged state

This commit is contained in:
ndom91 2024-10-14 11:13:34 +02:00 committed by Nico Domino
parent 1b8cfd2723
commit 0ff749f036

View File

@ -29,7 +29,7 @@
</Tooltip>
{:else if type === 'localAndShadow'}
<div class="local-shadow-commit-dot">
<Tooltip text="Diverged">
<Tooltip text={commitNode.commit?.remoteCommitId ?? 'Diverged'}>
<svg
class="shadow-dot"
width="10"
@ -42,7 +42,7 @@
/>
</svg>
</Tooltip>
<Tooltip text={tooltipText}>
<Tooltip text="Diverged">
<svg
class="local-dot"
width="11"