Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matefun
Infantil
Commits
1d8d18c2
Commit
1d8d18c2
authored
Feb 11, 2022
by
esanroman
Browse files
fix levels
parent
2c21a465
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
package-lock.json
View file @
1d8d18c2
This diff is collapsed.
Click to expand it.
src/components/modal/Configuration.jsx
View file @
1d8d18c2
...
...
@@ -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
)
}
/>
<
ComplexSelect
Level
value
=
{
complex
}
onChange
=
{
(
event
)
=>
this
.
props
.
setComplex
(
event
.
target
.
value
)
}
/>
<
hr
></
hr
>
<
Form
.
Group
>
<
Form
.
Label
>
Acciones
</
Form
.
Label
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment