fix js error on explore view (#2894)

* fix js error on explore view

* bump version
This commit is contained in:
Alanna Scott
2017-06-02 14:36:51 -07:00
committed by GitHub
parent 155fec0a6b
commit 04fb0e2c2d
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ export default class SelectControl extends React.PureComponent {
clearable: this.props.clearable,
isLoading: this.props.isLoading,
onChange: this.onChange,
optionRenderer: () => opt.label,
optionRenderer: (opt) => opt.label,
};
// Tab, comma or Enter will trigger a new option created for FreeFormSelect
const selectWrap = this.props.freeForm ?