diff --git a/src/components/ManualUploadModal.js b/src/components/ManualUploadModal.js index c793e19..c9dd413 100644 --- a/src/components/ManualUploadModal.js +++ b/src/components/ManualUploadModal.js @@ -28,7 +28,17 @@ const ManualUploadModal = ({ isOpen, onClose }) => { const { applyHorariosSIU, getPeriodosSIU } = React.useContext(DataContext); return ( - + { + setError(""); + setSiuData(""); + setPeriodosOptions([]); + setSelectedPeriod(null); + }} + > Importar horarios del SIU @@ -68,12 +78,61 @@ const ManualUploadModal = ({ isOpen, onClose }) => { V). -
0 - ? (t) => { - t.preventDefault(); - applyHorariosSIU(selectedPeriod); +