fix bug
This commit is contained in:
parent
b45e9dea29
commit
2f53540e2d
@ -54,7 +54,7 @@ export default function HistoryDisplay({
|
|||||||
>
|
>
|
||||||
<div className="flex gap-x-1">
|
<div className="flex gap-x-1">
|
||||||
<h2 className="text-sm">{displayHistoryItemType(item.type)}</h2>
|
<h2 className="text-sm">{displayHistoryItemType(item.type)}</h2>
|
||||||
{item.parentIndex && item.parentIndex !== index - 1 ? (
|
{item.parentIndex !== null && item.parentIndex !== index - 1 ? (
|
||||||
<h2 className="text-sm">
|
<h2 className="text-sm">
|
||||||
(parent: v{(item.parentIndex || 0) + 1})
|
(parent: v{(item.parentIndex || 0) + 1})
|
||||||
</h2>
|
</h2>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user