|
|
@@ -9,6 +9,7 @@ import { Header } from '../Components/Test/Cleaver/Header';
|
|
|
import { useSelector, useDispatch } from 'react-redux';
|
|
|
import { setRole } from '../Slices/userSlice'
|
|
|
import { Loading } from '../Components/Generics/loading';
|
|
|
+import { Completed } from './Pruebas/Completed';
|
|
|
|
|
|
export function Prueba() {
|
|
|
|
|
|
@@ -88,6 +89,10 @@ export function Prueba() {
|
|
|
return <Loading/>
|
|
|
}
|
|
|
|
|
|
+ if(asignacion.estadoFinal === 'FINALY_TEST'){
|
|
|
+ return <Completed/>
|
|
|
+ }
|
|
|
+
|
|
|
if (DOING_STATES.includes(asignacion.estadoFinal)) {
|
|
|
return <Cleaver />
|
|
|
}
|