diff --git a/src/core/components/model-collapse.jsx b/src/core/components/model-collapse.jsx
index 4093c7338a2..ef533bd4072 100644
--- a/src/core/components/model-collapse.jsx
+++ b/src/core/components/model-collapse.jsx
@@ -90,7 +90,11 @@ export default class ModelCollapse extends Component {
- { this.state.expanded ? this.props.children :this.state.collapsedContent }
+ {
+ this.state.expanded
+ ? this.props.children
+ : {this.state.collapsedContent}
+ }
)
}