File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
source/views/sis/student-work Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,9 @@ function Contact({job}: {job: JobType}) {
6363 const contactName = job . contactName
6464 const contactEmail = job . contactEmail
6565 const contactNumber = job . contactPhone
66+ const contactOffice = job . office
6667
67- return job . office || contactName ? (
68+ return contactName || contactEmail || contactNumber || contactOffice ? (
6869 < Card header = "Contact" style = { styles . card } >
6970 < Text style = { styles . cardBody } > { contactName } </ Text >
7071
@@ -90,7 +91,9 @@ function Contact({job}: {job: JobType}) {
9091 </ Text >
9192 ) : null }
9293
93- { job . office ? < Text style = { styles . cardBody } > { job . office } </ Text > : null }
94+ { contactOffice ? (
95+ < Text style = { styles . cardBody } > { contactOffice } </ Text >
96+ ) : null }
9497 </ Card >
9598 ) : null
9699}
You can’t perform that action at this time.
0 commit comments