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

This commit is contained in:
Joe Au-Yeung
2025-08-29 09:59:47 -04:00
committed by GitHub
parent 8845e736e5
commit 1fd1202373
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ export const AppPage = ({
const handleAppInstall = () => {
setIsLoading(true);
if (isConferencing(categories)) {
if (isConferencing(categories) && !concurrentMeetings) {
mutation.mutate({
type,
variant,
@@ -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,
};
};
@@ -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,