Fixed js type error in advanced_options_dropdown.js

This commit is contained in:
Ondřej Hruška 2017-07-06 13:37:15 +02:00 committed by Gô Shoemake
parent 0c7ee5c792
commit d87d70e89a
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export default class AdvancedOptionsDropdown extends React.PureComponent {
const anyEnabled = values.some((enabled) => enabled); const anyEnabled = values.some((enabled) => enabled);
const optionElems = options.map((option) => { const optionElems = options.map((option) => {
const active = values.get(option.key) ? 'active' : ''; const active = values.get(option.key);
return ( return (
<div role='button' className='advanced-options-dropdown__option' key={option.key} > <div role='button' className='advanced-options-dropdown__option' key={option.key} >
<div className='advanced-options-dropdown__option__toggle'> <div className='advanced-options-dropdown__option__toggle'>