diff --git a/.github/workflows/ci-cd-production.yml b/.github/workflows/ci-cd-production.yml index a5c8eff..ba87daf 100644 --- a/.github/workflows/ci-cd-production.yml +++ b/.github/workflows/ci-cd-production.yml @@ -11,7 +11,7 @@ on: env: AZURE_WEBAPP_NAME: Eros AZURE_WEBAPP_PACKAGE_PATH: '.' - NODE_VERSION: '22.x' + NODE_VERSION: '18.x' jobs: build-and-deploy: diff --git a/.github/workflows/ci-cd-testing.yml b/.github/workflows/ci-cd-testing.yml index 800b2b7..65b3904 100644 --- a/.github/workflows/ci-cd-testing.yml +++ b/.github/workflows/ci-cd-testing.yml @@ -11,7 +11,7 @@ on: env: AZURE_WEBAPP_NAME: cicero AZURE_WEBAPP_PACKAGE_PATH: '.' - NODE_VERSION: '22.x' + NODE_VERSION: '18.x' jobs: build-and-deploy: diff --git a/README.md b/README.md index 4273ddc..e1f851b 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ npm install El frontend sigue una arquitectura moderna de React con una clara separación de responsabilidades: -![alt text](image.png) +![alt text](images/image.png) ### Estructura de Componentes diff --git a/src/components/popup/AddReservaModal/GenerarReservaForm.jsx b/src/components/popup/AddReservaModal/GenerarReservaForm.jsx index e37baf2..ef1b28b 100644 --- a/src/components/popup/AddReservaModal/GenerarReservaForm.jsx +++ b/src/components/popup/AddReservaModal/GenerarReservaForm.jsx @@ -76,7 +76,11 @@ const FormGenerarReserva = ({ usuario, onClose , onReservaExitosa }) => { const reservaData = { fechaReserva: fechaReserva.toISOString().split("T")[0], hora: horasDisponibles.find((h) => h.hora === hora).valor, - diaSemana: fechaReserva.toLocaleDateString('es-ES', { weekday: 'long' }).toUpperCase(), + diaSemana: fechaReserva + .toLocaleDateString('es-ES', { weekday: 'long' }) + .toUpperCase() + .normalize('NFD') + .replace(/[\u0300-\u036f]/g, ''), proposito, materia, idSalon,