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} +