From f4a0f6a2e618cde013e40c8591cc22f324431230 Mon Sep 17 00:00:00 2001 From: Owen Date: Sat, 25 Oct 2025 16:17:45 -0700 Subject: [PATCH] Update ui --- src/app/[orgId]/settings/general/page.tsx | 36 +++++++++++++++++------ 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/src/app/[orgId]/settings/general/page.tsx b/src/app/[orgId]/settings/general/page.tsx index fd5c00c2..2599ec74 100644 --- a/src/app/[orgId]/settings/general/page.tsx +++ b/src/app/[orgId]/settings/general/page.tsx @@ -51,6 +51,7 @@ import { import { ChevronDown } from "lucide-react"; import { useLicenseStatusContext } from "@app/hooks/useLicenseStatusContext"; import { useSubscriptionStatusContext } from "@app/hooks/useSubscriptionStatusContext"; +import { Alert, AlertDescription } from "@app/components/ui/alert"; // Schema for general organization settings const GeneralFormSchema = z.object({ @@ -288,15 +289,6 @@ export default function GeneralPage() { - {/* {build === "saas" && !subscription?.subscribed ? ( - - - {t("orgAuthPageDisabled")}{" "} - {t("subscriptionRequiredToUse")} - - - ) : null} */} - + {build == "saas" && + !subscription?.subscribed ? ( + + + {t( + "subscriptionRequiredToUse" + )} + + + ) : null} + + {build == "enterprise" && + !isUnlocked() ? ( + + + {t("licenseRequiredToUse")} + + + ) : null} +