Skip to content

Commit

Permalink
fix: save button disabled when picture w/ no time
Browse files Browse the repository at this point in the history
  • Loading branch information
ISMAELHADDAD committed Nov 21, 2023
1 parent e0bd17e commit 4468a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MeasurementForm/PictureSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function PictureSection({

onImageUriChange && onImageUriChange(image.uri);
onLocationChange && onLocationChange(imageLocation);
onTimestampChange && onTimestampChange(imageTimestamp)
onTimestampChange && imageTimestamp && onTimestampChange(imageTimestamp)
};

return (
Expand Down

0 comments on commit 4468a90

Please sign in to comment.