diff --git a/frontend/package.json b/frontend/package.json index e0838da..104e62f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "checklist-frontend", "private": true, - "version": "1.0.81", + "version": "1.0.82", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 11ae342..47b55e7 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -4737,44 +4737,48 @@ function InspectionModal({ checklist, existingInspection, user, onClose, onCompl
- {/* Answer input based on type */} -
- - - { - setAnswers(prev => ({ - ...prev, - [currentQuestion.id]: { ...prev[currentQuestion.id], value: newValue } - })) - }} - onSave={() => setTimeout(() => saveAnswer(currentQuestion.id), 500)} - /> -
+ {/* Answer input based on type - NO mostrar para photo_only */} + {currentQuestion.options?.type !== 'photo_only' && ( +
+ + + { + setAnswers(prev => ({ + ...prev, + [currentQuestion.id]: { ...prev[currentQuestion.id], value: newValue } + })) + }} + onSave={() => setTimeout(() => saveAnswer(currentQuestion.id), 500)} + /> +
+ )} - {/* Observations */} -
- -