Changed text from Usage --> usage in UI

This commit is contained in:
Indhu committed 2024-12-11 15:03:43 +05:30
1 parent 76d0d1b486
commit c11726c920
1 file changed
+6 -6
@@ -283,7 +283,7 @@ const InfrastructureDetails = () => {
{ {
type: "memory", type: "memory",
value: decimalToPercentage(memoryUsagePercent), value: decimalToPercentage(memoryUsagePercent),
heading: "Memory Usage", heading: "Memory usage",
metricOne: "Used", metricOne: "Used",
valueOne: formatBytes(memoryUsedBytes), valueOne: formatBytes(memoryUsedBytes),
metricTwo: "Total", metricTwo: "Total",
@@ -292,7 +292,7 @@ const InfrastructureDetails = () => {
{ {
type: "cpu", type: "cpu",
value: decimalToPercentage(cpuUsagePercent), value: decimalToPercentage(cpuUsagePercent),
heading: "CPU Usage", heading: "CPU usage",
metricOne: "Cores", metricOne: "Cores",
valueOne: cpuPhysicalCores ?? 0, valueOne: cpuPhysicalCores ?? 0,
metricTwo: "Frequency", metricTwo: "Frequency",
@@ -364,7 +364,7 @@ const InfrastructureDetails = () => {
heading: "Memory usage", heading: "Memory usage",
strokeColor: theme.palette.primary.main, strokeColor: theme.palette.primary.main,
gradientStartColor: theme.palette.primary.main, gradientStartColor: theme.palette.primary.main,
yLabel: "Memory Usage", yLabel: "Memory usage",
yDomain: [0, 1], yDomain: [0, 1],
yTick: <PercentTick />, yTick: <PercentTick />,
xTick: <TzTick />, xTick: <TzTick />,
@@ -372,7 +372,7 @@ const InfrastructureDetails = () => {
<InfrastructureTooltip <InfrastructureTooltip
dotColor={theme.palette.primary.main} dotColor={theme.palette.primary.main}
yKey={"memory.usage_percent"} yKey={"memory.usage_percent"}
yLabel={"Memory Usage"} yLabel={"Memory usage"}
/> />
), ),
}, },
@@ -383,7 +383,7 @@ const InfrastructureDetails = () => {
heading: "CPU usage", heading: "CPU usage",
strokeColor: theme.palette.success.main, strokeColor: theme.palette.success.main,
gradientStartColor: theme.palette.success.main, gradientStartColor: theme.palette.success.main,
yLabel: "CPU Usage", yLabel: "CPU usage",
yDomain: [0, 1], yDomain: [0, 1],
yTick: <PercentTick />, yTick: <PercentTick />,
xTick: <TzTick />, xTick: <TzTick />,
@@ -391,7 +391,7 @@ const InfrastructureDetails = () => {
<InfrastructureTooltip <InfrastructureTooltip
dotColor={theme.palette.success.main} dotColor={theme.palette.success.main}
yKey={"cpu.usage_percent"} yKey={"cpu.usage_percent"}
yLabel={"CPU Usage"} yLabel={"CPU usage"}
/> />
), ),
}, },