diff options
Diffstat (limited to 'graphgraph-fe/src/GraphSettings.js')
-rw-r--r-- | graphgraph-fe/src/GraphSettings.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphgraph-fe/src/GraphSettings.js b/graphgraph-fe/src/GraphSettings.js index 4d44aef..d511068 100644 --- a/graphgraph-fe/src/GraphSettings.js +++ b/graphgraph-fe/src/GraphSettings.js @@ -4,6 +4,7 @@ import { DropdownButton, MenuItem, Label } from 'react-bootstrap' import './GraphSettings.css' import Popup from './PopupSettings' import ValidationModal from './ValidationModal' +import DownloadExport from './DownloadExport' import { validateSchema, pathGraph, basicGraph, schemas, nodeNames } from './requests' var emptyState = { @@ -220,8 +221,13 @@ class GraphSettings extends React.Component { <Popup isDisabled={!this.state.showHops} edgeFilter={this.state.edgeFilter} parentHops={this.state.hops.parents} childHops={this.state.hops.child} cousinHops={this.state.hops.cousin} updateHops={this.updateHops}/> <div className="modal-button"> - <ValidationModal schemaProblems={this.state.schemaProblems}/> + <ValidationModal schemaProblems={this.state.schemaProblems}/> </div> + + <div className="modal-button"> + <DownloadExport schemaVersion={this.state.selectedSchema}/> + </div> + </div> </div> |