Fix overflow issues with NodeId in issue/patch teasers

This commit is contained in:
Rūdolfs Ošiņš
2024-03-22 15:44:55 +01:00
parent 1c54038055
commit cf367733a9
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -146,7 +146,10 @@
</div>
</div>
<div class="subtitle">
<NodeId nodeId={issue.author.id} alias={issue.author.alias} />
<NodeId
stylePopoverPositionLeft="0"
nodeId={issue.author.id}
alias={issue.author.alias} />
opened
<span class="global-oid">{formatObjectId(issue.id)}</span>
<span title={absoluteTimestamp(issue.discussion[0].timestamp)}>
+4 -1
View File
@@ -158,7 +158,10 @@
</div>
<div class="summary">
<span class="subtitle">
<NodeId nodeId={patch.author.id} alias={patch.author.alias} />
<NodeId
stylePopoverPositionLeft="0"
nodeId={patch.author.id}
alias={patch.author.alias} />
{patch.revisions.length > 1 ? "updated" : "opened"}
<span class="global-oid">{formatObjectId(patch.id)}</span>
{#if patch.revisions.length > 1}