From ad19b4a42154226f2b59d603b803e568076a7592 Mon Sep 17 00:00:00 2001 From: LP B Date: Mon, 11 Nov 2024 17:16:37 +0100 Subject: [PATCH] fix(app): relocate Skip TLS switch next to git repo URL field (#107) --- app/react/portainer/gitops/GitForm.tsx | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/react/portainer/gitops/GitForm.tsx b/app/react/portainer/gitops/GitForm.tsx index a651ee788..834de6e82 100644 --- a/app/react/portainer/gitops/GitForm.tsx +++ b/app/react/portainer/gitops/GitForm.tsx @@ -74,6 +74,20 @@ export function GitForm({ errors={errors.RepositoryURL} /> +
+
+ handleChange({ TLSSkipVerify: value })} + name="TLSSkipVerify" + tooltip="Enabling this will allow skipping TLS validation for any self-signed certificate." + labelClass="col-sm-3 col-lg-2" + /> +
+
+ handleChange({ RepositoryReferenceName: value })} @@ -117,20 +131,6 @@ export function GitForm({ )} - -
-
- handleChange({ TLSSkipVerify: value })} - name="TLSSkipVerify" - tooltip="Enabling this will allow skipping TLS validation for any self-signed certificate." - labelClass="col-sm-3 col-lg-2" - /> -
-
);