Begin implementing permissions page

This commit is contained in:
Toby Zerner
2015-07-29 21:00:27 +09:30
parent f96cac6057
commit 42fd8e26c1
8 changed files with 431 additions and 4 deletions

View File

@ -15,7 +15,7 @@ export default class Select extends Component {
return (
<span className="Select">
<select className="Select-input FormControl" onchange={m.withAttr('value', onchange.bind(this))} value={value}>
<select className="Select-input FormControl" onchange={onchange ? m.withAttr('value', onchange.bind(this)) : undefined} value={value}>
{Object.keys(options).map(key => <option value={key}>{options[key]}</option>)}
</select>
{icon('sort', {className: 'Select-caret'})}