diff --git a/frontend/package.json b/frontend/package.json index 6e5d99f..026c175 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "checklist-frontend", "private": true, - "version": "1.3.0", + "version": "1.3.2", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/public/service-worker.js b/frontend/public/service-worker.js index 5bd0ea7..705f31b 100644 --- a/frontend/public/service-worker.js +++ b/frontend/public/service-worker.js @@ -1,6 +1,6 @@ // Service Worker para PWA con detección de actualizaciones // IMPORTANTE: Actualizar esta versión cada vez que se despliegue una nueva versión -const CACHE_NAME = 'ayutec-v1.3.0'; +const CACHE_NAME = 'ayutec-v1.3.2'; const urlsToCache = [ '/', '/index.html' diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 7ffb3d7..bd8e2ab 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -5206,8 +5206,8 @@ function InspectionModal({ checklist, existingInspection, user, onClose, onCompl )} - {/* Photos */} - {(currentQuestion.photo_requirement !== 'none' || currentQuestion.allow_photos) && ( + {/* Photos - Solo mostrar si NO es 'none' */} + {currentQuestion.photo_requirement !== 'none' && (