diff --git a/src/views/AulaVirtual/DniEntry.tsx b/src/views/AulaVirtual/DniEntry.tsx index 3a0623f..0ae294f 100644 --- a/src/views/AulaVirtual/DniEntry.tsx +++ b/src/views/AulaVirtual/DniEntry.tsx @@ -121,7 +121,7 @@ export function DniEntry(props: {dni: string, remove: (_: string) => void}) { -
+

Loading...

@@ -161,13 +161,16 @@ function CertArray(props: {array: Array}) { }); return ( -
+
[ {(cert) => ( - - {cert.curso_nombre} {cert.fecha_inscripcion} - +
+ {cert.curso_nombre}  + + {cert.fecha_inscripcion} + +
)}
] diff --git a/src/views/AulaVirtual/DniGroup.tsx b/src/views/AulaVirtual/DniGroup.tsx index e98c900..ef3603c 100644 --- a/src/views/AulaVirtual/DniGroup.tsx +++ b/src/views/AulaVirtual/DniGroup.tsx @@ -36,13 +36,13 @@ export function DniGroup(props: {group: string, index: number}) { Grupo #{props.index + 1} - cursos y fechas
- +
); } -function CourseManager() { +function CourseManager(props: {personAmount: number}) { const [courses, setCourses] = createSignal>([]); async function registerCourse(_: number, subjectId: number, date: string): Promise { @@ -76,7 +76,7 @@ function CourseManager() { disabled:opacity-50 disabled:cursor-not-allowed" type="button" > - Registrar todas las personas en todos los cursos + Registrar las {props.personAmount} personas en los {courses().length} cursos
diff --git a/src/views/components/NewRegister/SearchableSelect.tsx b/src/views/components/NewRegister/SearchableSelect.tsx index 53bd1bb..5a26b1a 100644 --- a/src/views/components/NewRegister/SearchableSelect.tsx +++ b/src/views/components/NewRegister/SearchableSelect.tsx @@ -1,4 +1,4 @@ -import { createEffect, createMemo, createSignal, For, JSX, Show } from "solid-js"; +import { createEffect, createSignal, For } from "solid-js"; import type {CursoGIE} from "../../../model/CursoGIE/cursoGIE.entity"; import { isServer } from "solid-js/web";