feat: email undefined value (#9240)

* Fix: #9210

* Fix: #9215 Added Password Validation to App Signup

* FIX #9216 Fixed the Update Button Allignment

* Fix #9238: Don't render descripiton in email template if undefined

* Remove Prev Changes

* Remove unwanted space

* Revert yarn.lock

---------

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
pull/9299/head^2
Piyush Garg 2023-06-06 15:33:40 +05:30 committed by GitHub
parent 8c049b29b3
commit 8bc8a045b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,12 @@ export function UserFieldsResponses(props: { calEvent: CalendarEvent }) {
<>
{Object.keys(labelValueMap).map((key) =>
labelValueMap[key] !== "" ? (
<Info key={key} label={key} description={`${labelValueMap[key]}`} withSpacer />
<Info
key={key}
label={key}
description={`${labelValueMap[key] ? labelValueMap[key] : ""}`}
withSpacer
/>
) : null
)}
</>