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

This commit is contained in:
Joe Au-Yeung 2023-08-28 19:39:57 -04:00 committed by GitHub
parent 3223beb9ac
commit 2ee0ec11d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")} />