From 5e18b710617f4305068295b00927e35cbc50f66b Mon Sep 17 00:00:00 2001 From: Domonkos Gulyas <domonkos.gulyas@ess.edu> Date: Wed, 18 Oct 2023 16:00:59 +0200 Subject: [PATCH] CE-2184: Replace icon for inactive IOC --- src/components/IOC/IOCIcons/IOCIcons.js | 4 ++-- src/components/host/HostIcons.js | 4 ++-- src/components/records/RecordIcons.js | 8 ++------ 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/components/IOC/IOCIcons/IOCIcons.js b/src/components/IOC/IOCIcons/IOCIcons.js index f029ec56..7950b2a2 100644 --- a/src/components/IOC/IOCIcons/IOCIcons.js +++ b/src/components/IOC/IOCIcons/IOCIcons.js @@ -4,7 +4,7 @@ import { Brightness1, Cancel, Error, - RadioButtonUnchecked, + StopCircle, ErrorOutline, HelpOutline, PlayCircleFilled, @@ -57,7 +57,7 @@ export function IOCStatusIcon({ ioc }) { }, inactive: { title: "Inactive", - icon: <RadioButtonUnchecked title="Inactive" /> + icon: <StopCircle title="Inactive" /> }, "inactive alert": { title: "Alert", diff --git a/src/components/host/HostIcons.js b/src/components/host/HostIcons.js index 4bd1cd16..38721d10 100644 --- a/src/components/host/HostIcons.js +++ b/src/components/host/HostIcons.js @@ -4,7 +4,7 @@ import { Brightness1, ErrorOutline, Error, - RadioButtonUnchecked, + StopCircle, HelpOutline } from "@mui/icons-material"; @@ -24,7 +24,7 @@ export function HostStatusIcon({ host }) { }, inactive: { title: "Inactive", - icon: <RadioButtonUnchecked /> + icon: <StopCircle /> }, "inactive alert": { title: "Alert", diff --git a/src/components/records/RecordIcons.js b/src/components/records/RecordIcons.js index c1852777..b6922f9f 100644 --- a/src/components/records/RecordIcons.js +++ b/src/components/records/RecordIcons.js @@ -1,10 +1,6 @@ import React from "react"; import { Tooltip, useTheme } from "@mui/material"; -import { - Brightness1, - RadioButtonUnchecked, - HelpOutline -} from "@mui/icons-material"; +import { Brightness1, StopCircle, HelpOutline } from "@mui/icons-material"; export function RecordStatusIcon({ record }) { const theme = useTheme(); @@ -18,7 +14,7 @@ export function RecordStatusIcon({ record }) { }, inactive: { title: "Inactive", - icon: <RadioButtonUnchecked /> + icon: <StopCircle /> }, null: { title: "Unknown", -- GitLab