Skip to content

Instantly share code, notes, and snippets.

@almet almet/foo.diff
Created Nov 6, 2016

Embed
What would you like to do?
diff --git a/formbuilder/components/AdminView.js b/formbuilder/components/AdminView.js
index 8de0b88..c81795e 100644
--- a/formbuilder/components/AdminView.js
+++ b/formbuilder/components/AdminView.js
@@ -25,19 +25,19 @@ export default class AdminView extends Component {
content = (
<div>
<h3>Results for {title}</h3>
- <DropdownButton title="Download as..." id="bg-nested-dropdown" className="pull-right">
- <MenuItem>
+ <DropdownButton title="Download results" id="bg-nested-dropdown" className="pull-right">
+ <li>
<CSVDownloader
schema={this.props.schema}
fields={schemaFields}
records={this.props.records} />
- </MenuItem>
- <MenuItem>
+ </li>
+ <li>
<XLSDownloader
schema={this.props.schema}
fields={schemaFields}
records={this.props.records} />
- </MenuItem>
+ </li>
</DropdownButton>
<URLDisplay url={formUrl} />
<table className="table table-striped">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.