From db19a8dc45e73cb3c13dee30ca5ebd736e2534ba Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 29 May 2025 23:37:22 +0100 Subject: [PATCH] feat: only show billing for cloud --- apps/web/src/views/settings/index.tsx | 32 ++++++++++++++------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/apps/web/src/views/settings/index.tsx b/apps/web/src/views/settings/index.tsx index ecbe326f..29bc847e 100644 --- a/apps/web/src/views/settings/index.tsx +++ b/apps/web/src/views/settings/index.tsx @@ -91,21 +91,23 @@ export default function SettingsPage() { /> -
-

- Billing -

-

- View and manage your billing and subscription. -

- -
+ {process.env.NEXT_PUBLIC_KAN_ENV !== "cloud" && ( +
+

+ Billing +

+

+ View and manage your billing and subscription. +

+ +
+ )}