From 7982e41a13168117ba983d72a807e3a6a9a159b2 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Sat, 31 Aug 2024 22:44:55 +0700 Subject: [PATCH] feat: no stripe --- apps/frontend/src/components/layout/layout.settings.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/frontend/src/components/layout/layout.settings.tsx b/apps/frontend/src/components/layout/layout.settings.tsx index f1eced4d..831b42b8 100644 --- a/apps/frontend/src/components/layout/layout.settings.tsx +++ b/apps/frontend/src/components/layout/layout.settings.tsx @@ -70,7 +70,7 @@ export const LayoutSettings = ({ children }: { children: ReactNode }) => { - {(user.tier !== 'FREE' || !isGeneral()) && } + {(user.tier !== 'FREE' || !isGeneral() || process.env.isBillingEnabled === "false") && }
@@ -123,7 +123,7 @@ export const LayoutSettings = ({ children }: { children: ReactNode }) => { )}
- {user?.orgId && (user.tier !== 'FREE' || !isGeneral()) ? ( + {user?.orgId && (user.tier !== 'FREE' || !isGeneral() || process.env.isBillingEnabled === "false") ? ( ) : (
@@ -137,7 +137,7 @@ export const LayoutSettings = ({ children }: { children: ReactNode }) => {
- {user.tier === 'FREE' && isGeneral() ? ( + {(user.tier === 'FREE' && isGeneral()) && process.env.isBillingEnabled === "true" ? ( <>