From f9cd63a999d2ae4e87129f56031921bdf9b9d275 Mon Sep 17 00:00:00 2001 From: Matt Krick Date: Mon, 13 Nov 2023 17:58:59 -0800 Subject: [PATCH] fix: replace saas url with calculated value for PPMIs Signed-off-by: Matt Krick --- .../SummaryEmail/MeetingSummaryEmail/LogoFooter.tsx | 8 +++++--- .../SummaryEmail/MeetingSummaryEmail/SummarySheet.tsx | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/client/modules/email/components/SummaryEmail/MeetingSummaryEmail/LogoFooter.tsx b/packages/client/modules/email/components/SummaryEmail/MeetingSummaryEmail/LogoFooter.tsx index fc8a0f83a1e..e10d6e23058 100644 --- a/packages/client/modules/email/components/SummaryEmail/MeetingSummaryEmail/LogoFooter.tsx +++ b/packages/client/modules/email/components/SummaryEmail/MeetingSummaryEmail/LogoFooter.tsx @@ -3,6 +3,7 @@ import {FONT_FAMILY} from 'parabol-client/styles/typographyV2' import React from 'react' import {ExternalLinks} from '../../../../../types/constEnums' import {CorsOptions} from '../../../../../types/cors' +import makeAppURL from '../../../../../utils/makeAppURL' const logoStyle = { paddingTop: 64 @@ -29,12 +30,13 @@ const linkStyle = { } interface Props { + appOrigin: string corsOptions: CorsOptions } const LogoFooter = (props: Props) => { - const {corsOptions} = props - + const {appOrigin, corsOptions} = props + const profileUrl = makeAppURL(appOrigin, `me/profile`) return ( <> @@ -55,7 +57,7 @@ const LogoFooter = (props: Props) => { { prompt={`How’d your meeting go?`} tagline='We’re eager for your feedback!' /> - + )