Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Allow install on teams for concurrent meeting apps (#23429)

Joe Au-Yeung1fd120237350
diff --git a/apps/web/components/apps/AppPage.tsx b/apps/web/components/apps/AppPage.tsx
index 10053056fd2..9fa038f3efd 100644
--- a/apps/web/components/apps/AppPage.tsx
+++ b/apps/web/components/apps/AppPage.tsx
@@ -113,7 +113,7 @@ export const AppPage = ({
const handleAppInstall = () => {
setIsLoading(true);
- if (isConferencing(categories)) {
+ if (isConferencing(categories) && !concurrentMeetings) {
mutation.mutate({
type,
variant,
diff --git a/apps/web/lib/apps/installation/[[...step]]/getServerSideProps.ts b/apps/web/lib/apps/installation/[[...step]]/getServerSideProps.ts
index 594c61b4eff..4d69630b501 100644
--- a/apps/web/lib/apps/installation/[[...step]]/getServerSideProps.ts
+++ b/apps/web/lib/apps/installation/[[...step]]/getServerSideProps.ts
@@ -317,7 +317,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
isConferencing,
isOrg,
// conferencing apps dont support team install
- installableOnTeams: !isConferencing,
+ installableOnTeams: !!appMetadata?.concurrentMeetings || !isConferencing,
} as OnboardingPageProps,
};
};
diff --git a/packages/features/apps/components/AppCard.tsx b/packages/features/apps/components/AppCard.tsx
index 4270971cfd8..2067ab63a98 100644
--- a/packages/features/apps/components/AppCard.tsx
+++ b/packages/features/apps/components/AppCard.tsx
@@ -56,7 +56,7 @@ export function AppCard({ app, credentials, searchText, userAdminTeams }: AppCar
}, [app.name, searchText]);
const handleAppInstall = () => {
- if (isConferencing(app.categories)) {
+ if (isConferencing(app.categories) && !app.concurrentMeetings) {
mutation.mutate({
type: app.type,
variant: app.variant,