fix: Allow install on teams for concurrent meeting apps (#23429)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user