Fix CollapsibleComment in PlaylistDetails. Closes #2992
This commit is contained in:
@@ -39,6 +39,10 @@ export const CollapsibleComment = ({ record }) => {
|
||||
setExpanded(!expanded)
|
||||
}, [expanded, setExpanded])
|
||||
|
||||
if (lines.length === 0) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<Collapse
|
||||
collapsedHeight={'2em'}
|
||||
|
||||
Reference in New Issue
Block a user