diff --git a/webapp/src/components/nav/Nav.js b/webapp/src/components/nav/Nav.js index 1c2a4f2f..3a93d4cb 100644 --- a/webapp/src/components/nav/Nav.js +++ b/webapp/src/components/nav/Nav.js @@ -30,10 +30,10 @@ export const Nav = () => { Historial - + Almacén de preguntas - + Usuarios @@ -44,7 +44,7 @@ export const Nav = () => { - + diff --git a/webapp/src/userStats/components/Question.jsx b/webapp/src/userStats/components/Question.jsx index 387464e4..2c47b853 100644 --- a/webapp/src/userStats/components/Question.jsx +++ b/webapp/src/userStats/components/Question.jsx @@ -3,11 +3,13 @@ import React from 'react'; function Question(props) { const { newQuestion } = props; + console.log(newQuestion) + return (
-

{newQuestion.title}

+

{newQuestion.title}

{newQuestion.answers.map((answer, index) => { @@ -21,6 +23,9 @@ function Question(props) { } })}
+ {newQuestion.ansIndex[0] === -1 ? ( +
X Sin respuesta
+ ) : null}
); diff --git a/webapp/src/userStats/css/Game.css b/webapp/src/userStats/css/Game.css index 39c82fe3..227d3bb4 100644 --- a/webapp/src/userStats/css/Game.css +++ b/webapp/src/userStats/css/Game.css @@ -195,6 +195,10 @@ gap: 1%; } +#history .noAnswer{ + color: red; +} + @media (max-width: 720px) { #history .game{ display: grid;