From 80218c0ed6c300a1d5f3b69a7c2d61a7f06c2599 Mon Sep 17 00:00:00 2001 From: Sem van Nieuwenhuizen Date: Tue, 14 Nov 2023 12:56:19 +0100 Subject: [PATCH] feat: Hide phone number if not filled in in Contentful --- src/templates/JobTemplate.jsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/templates/JobTemplate.jsx b/src/templates/JobTemplate.jsx index 25c8b7af..66122898 100755 --- a/src/templates/JobTemplate.jsx +++ b/src/templates/JobTemplate.jsx @@ -31,14 +31,16 @@ const JobView = ({ data }) => { - + {job.contactPerson.phone && ( + + )} )}