From 0e6dc0487c0c01f5e32ca3e642699746ce3f10ed Mon Sep 17 00:00:00 2001 From: Mahtis Michel Date: Wed, 17 Feb 2021 01:02:55 +0100 Subject: [PATCH] feat(models): collapsed schema content should be clickable (#6942) --- src/core/components/model-collapse.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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} + } ) }