Skip to content

Commit

Permalink
INT-1838: Render explain plan raw json expanded
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Sep 30, 2016
1 parent c7ae0d3 commit fd9a1dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"font-awesome": "https://github.com/FortAwesome/Font-Awesome/archive/v4.4.0.tar.gz",
"get-object-path": "azer/get-object-path#74eb42de0cfd02c14ffdd18552f295aba723d394",
"hadron-action": "^0.1.0",
"hadron-app-registry": "^3.0.0",
"hadron-app-registry": "^3.1.0",
"hadron-auto-update-manager": "^0.0.12",
"hadron-compile-cache": "^0.3.0",
"hadron-document": "^0.26.1",
Expand Down
2 changes: 1 addition & 1 deletion src/internal-packages/crud/lib/component/document.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class Document extends React.Component {
if (this.state.editing && this.props.editable) {
return this.editableElements(this.state.doc);
}
return ElementFactory.elements(this.state.doc);
return ElementFactory.elements(this.state.doc, this.props.preExpanded || false);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ExplainJSON extends React.Component {
<div className="panel panel-default">
<div className="panel-body">
<ol className="document-list">
<this.documentComponent doc={this.props.rawExplainObject} editable={false} />
<this.documentComponent doc={this.props.rawExplainObject} preExpanded />
</ol>
</div>
</div>
Expand Down

0 comments on commit fd9a1dd

Please sign in to comment.