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 KamranAsif committed Nov 4, 2021
1 parent cb898c6 commit c9915f4
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 c9915f4

Please sign in to comment.