The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix plan-required modal issue (#20346)
Etiennee49673df79e3
diff --git a/packages/twenty-front/src/modules/metadata-store/components/MinimalMetadataGater.tsx b/packages/twenty-front/src/modules/metadata-store/components/MinimalMetadataGater.tsxindex 0adf45378d3..41e362d6bbc 100644--- a/packages/twenty-front/src/modules/metadata-store/components/MinimalMetadataGater.tsx+++ b/packages/twenty-front/src/modules/metadata-store/components/MinimalMetadataGater.tsx@@ -21,7 +21,9 @@ export const MinimalMetadataGater = ({ children }: React.PropsWithChildren) => {isMatchingLocation(location, AppPath.SignInUp) ||isMatchingLocation(location, AppPath.Invite) ||isMatchingLocation(location, AppPath.ResetPassword) ||- isMatchingLocation(location, AppPath.CreateWorkspace);+ isMatchingLocation(location, AppPath.CreateWorkspace) ||+ isMatchingLocation(location, AppPath.PlanRequired) ||+ isMatchingLocation(location, AppPath.PlanRequiredSuccess);const shouldShowLoader = !isMinimalMetadataReady && !isOnExcludedPath;