fix empty incidents
This commit is contained in:
parent
256b049e7d
commit
5f976aeb76
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ function EventsList() {
|
||||||
style={{ left: `${getTimelinePosition(e.time, scale)}%` }}
|
style={{ left: `${getTimelinePosition(e.time, scale)}%` }}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
{incidents.map((i) => {
|
{incidents?.map((i) => {
|
||||||
const width = getTimelineEventWidth(endTime, (i as any).time, (i as any).endTime - sessionStart);
|
const width = getTimelineEventWidth(endTime, (i as any).time, (i as any).endTime - sessionStart);
|
||||||
return (
|
return (
|
||||||
<Tooltip title={i.label} key={(i as any).startTime}>
|
<Tooltip title={i.label} key={(i as any).startTime}>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue