Install Stripe on team from team event type (#10920)

This commit is contained in:
Joe Au-Yeung
2023-08-28 16:39:57 -07:00
committed by GitHub
parent 3223beb9ac
commit 2ee0ec11d6
@@ -37,7 +37,7 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({
.trim();
return (
<AppCard
returnTo={WEBAPP_URL + pathname}
returnTo={WEBAPP_URL + pathname + "?tabName=apps"}
setAppData={setAppData}
app={app}
disableSwitch={disabled}
@@ -45,7 +45,8 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({
switchChecked={requirePayment}
switchOnClick={(enabled) => {
setRequirePayment(enabled);
}}>
}}
teamId={eventType.team?.id || undefined}>
<>
{recurringEventDefined && (
<Alert className="mt-2" severity="warning" title={t("warning_recurring_event_payment")} />