diff --git a/src/components/views/verification/ConfirmProject.jsx b/src/components/views/verification/ConfirmProject.jsx index 8a952a936..b8bd810a0 100644 --- a/src/components/views/verification/ConfirmProject.jsx +++ b/src/components/views/verification/ConfirmProject.jsx @@ -6,13 +6,15 @@ import DescriptionRender from '../../DescriptionRender'; const ConfirmProject = ({ handleNextStep, project, reportIssue, formIsValid, isSaving }) => { return (
- {project.title} + {project.image && ( + {project.title} + )}
Confirm your Project to make it traceable
diff --git a/src/components/views/verification/Congratulations.jsx b/src/components/views/verification/Congratulations.jsx index e29fabbe5..f4eb04ab8 100644 --- a/src/components/views/verification/Congratulations.jsx +++ b/src/components/views/verification/Congratulations.jsx @@ -15,13 +15,15 @@ const Congratulations = ({ campaignSlug, project }) => { return (
- {project.title} + {project.image && ( + {project.title} + )}
Title: diff --git a/src/components/views/verification/Main.jsx b/src/components/views/verification/Main.jsx index 9e3f2fabf..00c3d20a4 100644 --- a/src/components/views/verification/Main.jsx +++ b/src/components/views/verification/Main.jsx @@ -117,6 +117,8 @@ const Verification = props => { }, }) .then(_project => { + // Default project images in IO are saved as numbers, we remove them + if (/^\d+$/.test(_project.image)) _project.image = ''; setProject(_project); setStep(step + 1); })