From 08ddba25d047466b932cde14e27cf5f20fdb3be1 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 20 Oct 2025 17:15:35 -0700 Subject: [PATCH] hide method selector on raw resources --- .../resources/[niceId]/proxy/page.tsx | 46 ++++++++++--------- .../settings/resources/create/page.tsx | 46 ++++++++++--------- 2 files changed, 50 insertions(+), 42 deletions(-) diff --git a/src/app/[orgId]/settings/resources/[niceId]/proxy/page.tsx b/src/app/[orgId]/settings/resources/[niceId]/proxy/page.tsx index 44c7769f..9588e0c8 100644 --- a/src/app/[orgId]/settings/resources/[niceId]/proxy/page.tsx +++ b/src/app/[orgId]/settings/resources/[niceId]/proxy/page.tsx @@ -1118,28 +1118,32 @@ export default function ReverseProxyTargets(props: { - + {resource.http && ( + + )} -
- {"://"} -
+ {resource.http && ( +
+ {"://"} +
+ )} - + {isHttp && ( + + )} -
- {"://"} -
+ {isHttp && ( +
+ {"://"} +
+ )}