Skip to content

Commit ad57f5a

Browse files
heldersepushockey
authored andcommitted
Add empty div (#4236)
if there are properties show an empty div
1 parent ebf94df commit ad57f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/array-model.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default class ArrayModel extends Component {
4646
properties.size ? properties.entrySeq().map( ( [ key, v ] ) => <Property key={`${key}-${v}`} propKey={ key } propVal={ v } propStyle={ propStyle } />) : null
4747
}
4848
{
49-
!description ? null :
49+
!description ? (properties.size ? <div className="markdown"></div> : null) :
5050
<Markdown source={ description } />
5151
}
5252
<span>

0 commit comments

Comments
 (0)