mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
[DevTools] Repeat the "name" if there's no short description in groups (#34894)
It looks weird when the row is blank when there's no short description for the entry in a group. <img width="328" height="436" alt="Screenshot 2025-10-17 at 12 25 30 AM" src="https://github.com/user-attachments/assets/12f5c55f-a37f-4b6d-913e-f763cec6b211" />
This commit is contained in:
committed by
GitHub
parent
ef88c588d5
commit
724e7bfb40
@@ -169,7 +169,7 @@ function SuspendedByRow({
|
||||
type={isOpen ? 'expanded' : 'collapsed'}
|
||||
/>
|
||||
<span className={styles.CollapsableHeaderTitle}>
|
||||
{skipName ? shortDescription : name}
|
||||
{skipName && shortDescription !== '' ? shortDescription : name}
|
||||
</span>
|
||||
{skipName || shortDescription === '' ? null : (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user