Skip to content

Commit

Permalink
Fix DevTools advanced tooltip display conditional check (#22669)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Nov 2, 2021
1 parent 3fcd81d commit 9fb3442
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 9fb3442

Please sign in to comment.