Add empty div (#4236)

if there are properties show an empty div
This commit is contained in:
Helder Sepulveda
2018-03-08 20:46:21 -05:00
committed by kyle
parent ebf94dfccf
commit ad57f5a549

View File

@@ -46,7 +46,7 @@ export default class ArrayModel extends Component {
properties.size ? properties.entrySeq().map( ( [ key, v ] ) => <Property key={`${key}-${v}`} propKey={ key } propVal={ v } propStyle={ propStyle } />) : null
}
{
!description ? null :
!description ? (properties.size ? <div className="markdown"></div> : null) :
<Markdown source={ description } />
}
<span>