deep linking for models, operations and tags

This commit is contained in:
Josh Ponelat
2017-10-25 09:31:43 +02:00
parent f6b86d2d33
commit 3893cb4396
6 changed files with 67 additions and 30 deletions

View File

@@ -38,7 +38,7 @@ export default class ArrayModel extends Component {
*/
return <span className="model">
<ModelCollapse title={titleEl} collapsed={ depth > expandDepth } collapsedContent="[...]">
<ModelCollapse title={titleEl} expanded={ depth <= expandDepth } collapsedContent="[...]">
[
{
properties.size ? properties.entrySeq().map( ( [ key, v ] ) => <Property key={`${key}-${v}`} propKey={ key } propVal={ v } propStyle={ propStyle } />) : null