mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
Add attributes display to LogItem component
This commit is contained in:
parent
5795762e12
commit
4d4180358e
@ -214,6 +214,17 @@ const LogItem: FunctionComponent<ComponentProps> = (
|
||||
{getCopyButton(props.log.spanId?.toString() || '')}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{props.log.attributes && (
|
||||
<div className="flex">
|
||||
<div className="font-medium text-slate-200 courier-prime mr-2">
|
||||
ATTRIBUTES:
|
||||
</div>
|
||||
<div className={`${bodyColor} courier-prime`}>
|
||||
{JSON.stringify(props.log.attributes, null, 2)}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user