Skip to content

Commit

Permalink
Fix DevTools advanced tooltip display conditional check
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Nov 1, 2021
1 parent a0d991f commit ed8350c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ function List({

// Only some React versions include commit durations.
// Show a richer tooltip only for builds that have that info.
if (effectDuration !== null || passiveEffectDuration !== null) {
if (
effectDuration !== null ||
passiveEffectDuration !== null ||
priorityLevel !== null
) {
tooltipLabel = (
<ul className={styles.TooltipList}>
{priorityLevel !== null && (
Expand Down

0 comments on commit ed8350c

Please sign in to comment.