diff --git a/web/ee/components/license/plane-one-billing.tsx b/web/ee/components/license/plane-one-billing.tsx index 3c69105d79..25617f347a 100644 --- a/web/ee/components/license/plane-one-billing.tsx +++ b/web/ee/components/license/plane-one-billing.tsx @@ -1,7 +1,9 @@ import Image from "next/image"; import { ExternalLink } from "lucide-react"; // ui -import { Button } from "@plane/ui"; +import { getButtonStyling } from "@plane/ui"; +// helpers +import { cn } from "@/helpers/common.helper"; // assets import PlaneOneLogo from "@/public/plane-logos/plane-one.svg"; @@ -32,13 +34,17 @@ export const PlaneOneBilling: React.FC = () => (

Plane One

- +

Perpetual license: 1

diff --git a/web/ee/components/workspace/billing/root.tsx b/web/ee/components/workspace/billing/root.tsx index 522692913a..fe86dd9060 100644 --- a/web/ee/components/workspace/billing/root.tsx +++ b/web/ee/components/workspace/billing/root.tsx @@ -1 +1,16 @@ -export * from "ce/components/workspace/billing/root"; +import { observer } from "mobx-react"; +// hooks +import { useInstance } from "@/hooks/store"; +// plane web components +import { PlaneOneBilling, PlaneCloudBilling } from "@/plane-web/components/license"; + +export const BillingRoot = observer(() => { + // store hooks + const { instance } = useInstance(); + + if (instance?.product === "plane-one") { + return ; + } + + return ; +});