Skip to content

Commit

Permalink
Fix DevTools advanced tooltip display conditional check (facebook#22669)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored and zhengjitf committed Apr 15, 2022
1 parent a104f69 commit a29cedb
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 a29cedb

Please sign in to comment.