Created
November 6, 2016 18:59
-
-
Save almet/c817898283a1df21a05dac638afcb327 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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