Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
madurangasiriwardena committed Oct 17, 2023
1 parent ce269bd commit cb39966
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class EmailCustomizationUtils {
.replace(/{{organization.font}}/g, currentTheme.typography.font.fontFamily)
.replace(/{{organization.font.color}}/g, currentTheme.colors.text.primary)
.replace(/{{organization.button.font.color}}/g, currentTheme.buttons.primary.base.font.color)
.replace(/{{organization-name}}/g, displayName ? displayName : organizationName)
.replace(/{{organization-name}}/g, displayName ?? organizationName)
.replace(/{{organization.logo.img}}/g, currentTheme.images.logo.imgURL || defaultOrgLogo)
.replace(/{{organization.logo.altText}}/g, currentTheme.images.logo.altText)
.replace(/{{organization.copyright.text}}/g,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ export const EmailTemplateScreenSkeleton: FunctionComponent<EmailTemplateScreenS
}
}
},
"organization-name": brandingPreference.organizationDetails.displayName
? brandingPreference.organizationDetails.displayName : tenantDomain,
"organization-name": brandingPreference.organizationDetails.displayName ?? tenantDomain,
"user-name": userDisplayName
})
) }
Expand Down

0 comments on commit cb39966

Please sign in to comment.