From abfe476cb9f7710f41d0a6be139d6b0a03590d0e Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Tue, 6 Jan 2026 02:02:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20wip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CreateRoleForm.tsx | 62 +++++++++++++++++-------------- 1 file changed, 35 insertions(+), 27 deletions(-) diff --git a/src/components/CreateRoleForm.tsx b/src/components/CreateRoleForm.tsx index 30c37693..1f6914fe 100644 --- a/src/components/CreateRoleForm.tsx +++ b/src/components/CreateRoleForm.tsx @@ -35,6 +35,8 @@ import { useEnvContext } from "@app/hooks/useEnvContext"; import { useTranslations } from "next-intl"; import { CheckboxWithLabel } from "./ui/checkbox"; import { usePaidStatus } from "@app/hooks/usePaidStatus"; +import { build } from "@server/build"; +import { PaidFeaturesAlert } from "./PaidFeaturesAlert"; type CreateRoleFormProps = { open: boolean; @@ -165,35 +167,41 @@ export default function CreateRoleForm({ )} /> - {isPaidUser && ( - ( - - - + + ( + + + + + + + {t( + "requireDeviceApprovalDescription" )} - /> - + - - {t( - "requireDeviceApprovalDescription" - )} - - - - - )} - /> + + + )} + /> + )}