Fixes #3500 - Fix missing names for primitive models

This commit is contained in:
Owen Conti
2017-08-01 20:46:41 -06:00
parent 774a21521e
commit d64dfc4252
7 changed files with 39 additions and 36 deletions

View File

@@ -17,8 +17,7 @@ export default class ObjectModel extends Component {
}
render(){
let { schema, name, isRef, getComponent, depth, ...props } = this.props
let { expandDepth } = this.props
let { schema, name, isRef, getComponent, depth, expandDepth, ...props } = this.props
let description = schema.get("description")
let properties = schema.get("properties")
let additionalProperties = schema.get("additionalProperties")