fix: default to empty ImmutableMap when schema is missing (#4341)

This commit is contained in:
kyle
2018-03-16 22:59:46 -07:00
committed by GitHub
parent b8cf080e6c
commit 08cfc77fde

View File

@@ -63,7 +63,7 @@ export default class Models extends Component {
const content = <ModelWrapper name={ name }
expandDepth={ defaultModelsExpandDepth }
schema={ schema }
schema={ schema || Im.Map() }
specPath={Im.List([...specPathBase, name])}
getComponent={ getComponent }
specSelectors={ specSelectors }