Fix: Redirect only those apps that extend 'EventType' to the new app install flow (#14527)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import type { AppMeta } from "@calcom/types/App";
|
||||
|
||||
export const shouldRedirectToAppOnboarding = (appMetadata: AppMeta) => {
|
||||
// const appMetadata = appStoreMetadata[dirName as keyof typeof appStoreMetadata];
|
||||
const hasEventTypes = appMetadata?.extendsFeature == "EventType";
|
||||
const isOAuth = appMetadata?.isOAuth;
|
||||
const isCalendar = appMetadata?.category === "calendar";
|
||||
return !isCalendar && (hasEventTypes || isOAuth);
|
||||
return hasEventTypes;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user