Skip to content

Commit

Permalink
Display references unless it's a single CHILD_OF
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed Dec 25, 2020
1 parent c751cf0 commit ed0ca85
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ export default function SpanDetail(props: SpanDetailProps) {
onToggle={() => warningsToggle(spanID)}
/>
)}
{references && references.length > 0 &&
{references &&
references.length > 0 &&
(references.length > 1 || references[0].refType !== 'CHILD_OF') && (
<AccordianReferences
data={references}
Expand Down

0 comments on commit ed0ca85

Please sign in to comment.