From 49c77c20cdcddaa71b2d6414419dbaaf888dbf80 Mon Sep 17 00:00:00 2001 From: mfrances17 <39063664+mfrances17@users.noreply.github.com> Date: Tue, 15 Mar 2022 05:43:48 -0400 Subject: [PATCH] Change order of client sections (#2245) --- src/clients/ClientSettings.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clients/ClientSettings.tsx b/src/clients/ClientSettings.tsx index 033445dde7..7329697002 100644 --- a/src/clients/ClientSettings.tsx +++ b/src/clients/ClientSettings.tsx @@ -56,17 +56,17 @@ export const ClientSettings = ({ ); const sections = useMemo(() => { - let result = ["generalSettings"]; + let result = ["generalSettings", "accessSettings"]; if (protocol === "saml") { result = [...result, "samlCapabilityConfig", "signatureAndEncryption"]; } else if (!client.bearerOnly) { result = [...result, "capabilityConfig"]; } else { - return [...result, "accessSettings"]; + return result; } - return [...result, "accessSettings", "loginSettings", "logoutSettings"]; + return [...result, "loginSettings", "logoutSettings"]; }, [protocol, client]); return (