Skip to content

Commit

Permalink
Disable clicking
Browse files Browse the repository at this point in the history
Signed-off-by: Staffan Friberg <sfriberg@mkth.se>
  • Loading branch information
sfriberg authored and Staffan Friberg committed Jan 14, 2019
1 parent c5432e1 commit 262ce0f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ function SpanBar(props: SpanBarProps) {
>
<div className={`SpanBar--label is-${hintSide}`}>{label}</div>
</div>
<div>
<div
aria-hidden
onClick={ev => {
ev.stopPropagation();
}}
>
{_values(
_groupBy(span.logs.map(l => ({ view: getViewedBounds(l.timestamp, l.timestamp), log: l })), v =>
Math.floor(v.view.start * 100)
Expand Down

0 comments on commit 262ce0f

Please sign in to comment.