fix: reschedule reason title in email (#7746)
* fix: reschedule reason title * fix: remove aditional checkpull/7765/head
parent
0f6a678b74
commit
325dc9805f
|
@ -60,7 +60,11 @@ export const BaseScheduledEmail = (
|
||||||
subtitle={props.subtitle || <>{t("emailed_you_and_any_other_attendees")}</>}>
|
subtitle={props.subtitle || <>{t("emailed_you_and_any_other_attendees")}</>}>
|
||||||
{props.calEvent.cancellationReason && (
|
{props.calEvent.cancellationReason && (
|
||||||
<Info
|
<Info
|
||||||
label={t("cancellation_reason")}
|
label={t(
|
||||||
|
props.calEvent.cancellationReason.startsWith("$RCH$")
|
||||||
|
? "reschedule_reason"
|
||||||
|
: "cancellation_reason"
|
||||||
|
)}
|
||||||
description={
|
description={
|
||||||
!!props.calEvent.cancellationReason && props.calEvent.cancellationReason.replace("$RCH$", "")
|
!!props.calEvent.cancellationReason && props.calEvent.cancellationReason.replace("$RCH$", "")
|
||||||
} // Removing flag to distinguish reschedule from cancellation
|
} // Removing flag to distinguish reschedule from cancellation
|
||||||
|
|
Loading…
Reference in New Issue