From 54670e150d841d93679b48262f5d7388c6b3009b Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Thu, 4 Dec 2025 21:12:14 -0500 Subject: [PATCH] simplify create site wizard --- .../settings/clients/machine/create/page.tsx | 52 +++++++++---------- .../[orgId]/settings/sites/create/page.tsx | 45 +++++++--------- 2 files changed, 46 insertions(+), 51 deletions(-) diff --git a/src/app/[orgId]/settings/clients/machine/create/page.tsx b/src/app/[orgId]/settings/clients/machine/create/page.tsx index f1c231a0..3971fb74 100644 --- a/src/app/[orgId]/settings/clients/machine/create/page.tsx +++ b/src/app/[orgId]/settings/clients/machine/create/page.tsx @@ -426,32 +426,32 @@ export default function Page() { )} /> - ( - - - {t("address")} - - - - - - - {t( - "addressDescription" - )} - - - )} - /> + {/* ( */} + {/* */} + {/* */} + {/* {t("address")} */} + {/* */} + {/* */} + {/* */} + {/* */} + {/* */} + {/* */} + {/* {t( */} + {/* "addressDescription" */} + {/* )} */} + {/* */} + {/* */} + {/* )} */} + {/* /> */} {/* )} /> - {form.watch("method") === + {/*form.watch("method") === "newt" && ( )} /> - )} + )*/} + + {tunnelTypes.length > 1 && ( + <> +
+ {t("type")} +
+ { + form.setValue("method", value); + }} + cols={3} + /> + + )} - {tunnelTypes.length > 1 && ( - - - - {t("tunnelType")} - - - {t("siteTunnelDescription")} - - - - { - form.setValue("method", value); - }} - cols={3} - /> - - - )} - {form.watch("method") === "newt" && ( <>