change(ui) - xray - show no data message
This commit is contained in:
parent
c61964da91
commit
9afff25b56
1 changed files with 4 additions and 2 deletions
|
|
@ -32,13 +32,15 @@ const EventRow = React.memo((props: Props) => {
|
|||
{isGraph ? (
|
||||
<PerformanceGraph list={list} />
|
||||
) : (
|
||||
_list.map((item: any, index: number) => {
|
||||
_list.length > 0 ? _list.map((item: any, index: number) => {
|
||||
return (
|
||||
<div key={index} className="absolute" style={{ left: item.left + '%' }}>
|
||||
{props.renderElement ? props.renderElement(item) : null}
|
||||
</div>
|
||||
);
|
||||
})
|
||||
}) : (
|
||||
<div className="ml-4 color-gray-medium text-sm pt-1">No records captured.</div>
|
||||
)
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue