Commit 1d8d18c2 authored by esanroman's avatar esanroman
Browse files

fix levels

parent 2c21a465
This diff is collapsed.
......@@ -19,6 +19,17 @@ const ComplexSelect = ({ onChange, value }) => (
</Form.Group>
)
const ComplexSelectLevel = ({ onChange, value }) => (
<Form.Group>
<Form.Label>Seleccionar dificultad</Form.Label>
<Form.Control as="select" value={value} onChange={onChange}>
<option value={0}>Básico</option>
<option value={3}>Avanzado</option>
<option value={5}>Completo</option>
</Form.Control>
</Form.Group>
)
const TypeSelect = ({ onChange, value }) => (
<Form.Group>
<Form.Label>Seleccionar tipo</Form.Label>
......@@ -63,7 +74,7 @@ export class Configuration extends React.Component {
<div className="body">
{
open && (<div className="actions">
<ComplexSelect value={complex} onChange={(event) => this.props.setComplex(event.target.value)}/>
<ComplexSelectLevel value={complex} onChange={(event) => this.props.setComplex(event.target.value)}/>
<hr></hr>
<Form.Group>
<Form.Label>Acciones</Form.Label>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment