diff --git a/src/views/Settings.tsx b/src/views/Settings.tsx
index 724b54c6..3a3edf28 100644
--- a/src/views/Settings.tsx
+++ b/src/views/Settings.tsx
@@ -50,6 +50,7 @@ import { actions as routeActions } from "../store/route";
import { actions as userActions } from "../store/user";
import {useOidc} from "@axa-fr/react-oidc";
import {getConfig} from "../config";
+import {Link} from "react-router-dom";
const { Title, Paragraph, Text } = Typography;
@@ -76,6 +77,7 @@ export const Settings = () => {
];
const [groupsClicked, setGroupsClicked] = useState(false);
+ const [idpCLicked, setIdpClicked] = useState(false);
const [billingClicked, setBillingClicked] = useState(false);
const [authClicked, setAuthClicked] = useState(true);
const [dangerClicked, setDangerClicked] = useState(false);
@@ -657,24 +659,35 @@ export const Settings = () => {
setGroupsClicked(false);
setBillingClicked(false);
setDangerClicked(false);
+ setIdpClicked(false);
break;
case "groups":
setGroupsClicked(true);
setBillingClicked(false);
setAuthClicked(false);
setDangerClicked(false);
+ setIdpClicked(false);
break;
case "billing":
setBillingClicked(true);
setAuthClicked(false);
setGroupsClicked(false);
setDangerClicked(false);
+ setIdpClicked(false);
break;
case "danger":
setBillingClicked(false);
setAuthClicked(false);
setGroupsClicked(false);
setDangerClicked(true);
+ setIdpClicked(false);
+ break;
+ case "idp":
+ setIdpClicked(true);
+ setBillingClicked(false);
+ setAuthClicked(false);
+ setGroupsClicked(false);
+ setDangerClicked(false);
break;
}
};
@@ -702,12 +715,12 @@ export const Settings = () => {
"System settings",
"sub2",