Skip to content

Commit 1fd1202

Browse files
authored
fix: Allow install on teams for concurrent meeting apps (calcom#23429)
1 parent 8845e73 commit 1fd1202

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/web/components/apps/AppPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const AppPage = ({
113113

114114
const handleAppInstall = () => {
115115
setIsLoading(true);
116-
if (isConferencing(categories)) {
116+
if (isConferencing(categories) && !concurrentMeetings) {
117117
mutation.mutate({
118118
type,
119119
variant,

apps/web/lib/apps/installation/[[...step]]/getServerSideProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
317317
isConferencing,
318318
isOrg,
319319
// conferencing apps dont support team install
320-
installableOnTeams: !isConferencing,
320+
installableOnTeams: !!appMetadata?.concurrentMeetings || !isConferencing,
321321
} as OnboardingPageProps,
322322
};
323323
};

packages/features/apps/components/AppCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function AppCard({ app, credentials, searchText, userAdminTeams }: AppCar
5656
}, [app.name, searchText]);
5757

5858
const handleAppInstall = () => {
59-
if (isConferencing(app.categories)) {
59+
if (isConferencing(app.categories) && !app.concurrentMeetings) {
6060
mutation.mutate({
6161
type: app.type,
6262
variant: app.variant,

0 commit comments

Comments
 (0)