diff --git a/portal-ui/src/common/SecureComponent/permissions.ts b/portal-ui/src/common/SecureComponent/permissions.ts index 7499f0aac..0fe66f770 100644 --- a/portal-ui/src/common/SecureComponent/permissions.ts +++ b/portal-ui/src/common/SecureComponent/permissions.ts @@ -177,9 +177,6 @@ export const IAM_PAGES = { TOOLS_HEAL: "/tools/heal", TOOLS_WATCH: "/tools/watch", - /* Health */ - HEALTH: "/health", - /* KMS */ KMS: "/kms", KMS_STATUS: "/kms/status", @@ -462,7 +459,6 @@ export const IAM_PAGES_PERMISSIONS = { ], [IAM_PAGES.CALL_HOME]: [IAM_SCOPES.ADMIN_HEALTH_INFO], [IAM_PAGES.PROFILE]: [IAM_SCOPES.ADMIN_HEALTH_INFO], - [IAM_PAGES.HEALTH]: [IAM_SCOPES.ADMIN_HEALTH_INFO], [IAM_PAGES.SUPPORT_INSPECT]: [IAM_SCOPES.ADMIN_HEALTH_INFO], [IAM_PAGES.LICENSE]: [ IAM_SCOPES.ADMIN_SERVER_INFO, diff --git a/portal-ui/src/screens/Console/Console.tsx b/portal-ui/src/screens/Console/Console.tsx index 0f0ee9883..70443d9e3 100644 --- a/portal-ui/src/screens/Console/Console.tsx +++ b/portal-ui/src/screens/Console/Console.tsx @@ -99,7 +99,6 @@ const LogsSearchMain = React.lazy( const GroupsDetails = React.lazy(() => import("./Groups/GroupsDetails")); const Tools = React.lazy(() => import("./Tools/Tools")); -const Health = React.lazy(() => import("./Health")); const IconsScreen = React.lazy(() => import("./Common/IconsScreen")); const Speedtest = React.lazy(() => import("./Speedtest/Speedtest")); @@ -412,10 +411,6 @@ const Console = ({ classes }: IConsoleProps) => { component: LogsSearchMain, path: IAM_PAGES.TOOLS_AUDITLOGS, }, - { - component: Health, - path: IAM_PAGES.HEALTH, - }, { component: Tools, path: IAM_PAGES.TOOLS, diff --git a/portal-ui/src/screens/Console/Health.tsx b/portal-ui/src/screens/Console/Health.tsx deleted file mode 100644 index a588b2879..000000000 --- a/portal-ui/src/screens/Console/Health.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import React from "react"; -import { HealthMenuIcon } from "mds"; -import FeatureNotAvailablePage from "./Common/Components/FeatureNotAvailablePage"; - -const Health = () => { - return ( - } - pageHeaderText={"Health"} - title={"Health"} - message={
This feature is currently not available
} - /> - ); -}; - -export default Health;