The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(auth): exclude /authorize from MinimalMetadataGater loading gate (#20572)
Félix Malfaitdbc033b29b3b
diff --git a/packages/twenty-front/src/modules/metadata-store/components/MinimalMetadataGater.tsx b/packages/twenty-front/src/modules/metadata-store/components/MinimalMetadataGater.tsxindex 41e362d6bbc..c570d1942e6 100644--- a/packages/twenty-front/src/modules/metadata-store/components/MinimalMetadataGater.tsx+++ b/packages/twenty-front/src/modules/metadata-store/components/MinimalMetadataGater.tsx@@ -23,7 +23,8 @@ export const MinimalMetadataGater = ({ children }: React.PropsWithChildren) => {isMatchingLocation(location, AppPath.ResetPassword) ||isMatchingLocation(location, AppPath.CreateWorkspace) ||isMatchingLocation(location, AppPath.PlanRequired) ||- isMatchingLocation(location, AppPath.PlanRequiredSuccess);+ isMatchingLocation(location, AppPath.PlanRequiredSuccess) ||+ isMatchingLocation(location, AppPath.Authorize);const shouldShowLoader = !isMinimalMetadataReady && !isOnExcludedPath;