Remove Unused Health Component (#2659)

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2023-02-13 16:29:42 -08:00
committed by GitHub
parent de4ff1c1f0
commit 88fdd3a456
3 changed files with 0 additions and 25 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -1,16 +0,0 @@
import React from "react";
import { HealthMenuIcon } from "mds";
import FeatureNotAvailablePage from "./Common/Components/FeatureNotAvailablePage";
const Health = () => {
return (
<FeatureNotAvailablePage
icon={<HealthMenuIcon />}
pageHeaderText={"Health"}
title={"Health"}
message={<div>This feature is currently not available</div>}
/>
);
};
export default Health;