diff --git a/resources/frontend_client/app/query_builder/filters/pickers/SelectPicker.react.js b/resources/frontend_client/app/query_builder/filters/pickers/SelectPicker.react.js index f2c7febd1c11d0c28a26e9534b6e177785ac5c71..0b6827d11faeae5fe3f64d1c65ca98e80ea5ebac 100644 --- a/resources/frontend_client/app/query_builder/filters/pickers/SelectPicker.react.js +++ b/resources/frontend_client/app/query_builder/filters/pickers/SelectPicker.react.js @@ -29,16 +29,14 @@ export default class SelectPicker extends Component { <h5>{placeholder}</h5> : null } <ul> - {options.map((option, index) => { - return ( - <li key={index}> - <label className="flex align-center full cursor-pointer p1" onClick={(e) => this.selectValue(option.key, !checked[option.key])}> - <CheckBox checked={checked[option.key]} /> - <h4 className="ml1">{option.name}</h4> - </label> - </li> - ) - })} + {options.map((option, index) => + <li key={index}> + <label className="flex align-center full cursor-pointer p1" onClick={(e) => this.selectValue(option.key, !checked[option.key])}> + <CheckBox checked={checked[option.key]} /> + <h4 className="ml1">{option.name}</h4> + </label> + </li> + )} </ul> </div> );