Skip to content

Commit

Permalink
dont use summary for events without value
Browse files Browse the repository at this point in the history
  • Loading branch information
fippo committed Jun 18, 2024
1 parent 77742c7 commit 0a32591
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions import.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,11 @@ function processTraceEvent(table, event) {
}
details.appendChild(el);
el = document.createElement('td');
el.appendChild(details);

if (event.value !== '') {
el.appendChild(details);
} else {
el.innerText = event.type;
}
row.appendChild(el);

// guess what, if the event type ends with 'Failure' one could use css to highlight it
Expand Down

0 comments on commit 0a32591

Please sign in to comment.