Pull list items onto variable

pull/1081/head
Andrew Watkins 2017-03-30 10:12:36 -07:00
parent 7670558202
commit b942b15aaf
1 changed files with 2 additions and 1 deletions

View File

@ -144,8 +144,9 @@ const QueryBuilder = React.createClass({
},
renderAddQuery() {
const items = [{text: 'Query Builder'}, {text: 'Query Editor'}]
return (
<SimpleDropdown onChoose={this.onChoose} items={[{text: 'Query Builder'}, {text: 'InfluxQL'}]} className="panel--tab-new">
<SimpleDropdown onChoose={this.onChoose} items={items} className="panel--tab-new">
<span className="icon plus"></span>
</SimpleDropdown>
)