Merge pull request #2221 from Br0wnHammer/fix/fe/ui-fix-infra-page
Fix: UI Fixes on Infra Page
This commit is contained in:
1 file changed
+7
-3
@@ -51,7 +51,9 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
|
|||||||
subHeading={
|
subHeading={
|
||||||
<>
|
<>
|
||||||
{physicalCores}
|
{physicalCores}
|
||||||
<Typography component="span">cores</Typography>
|
<Typography component="span">
|
||||||
|
{physicalCores === 1 ? "core" : "cores"}
|
||||||
|
</Typography>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
@@ -61,7 +63,9 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
|
|||||||
subHeading={
|
subHeading={
|
||||||
<>
|
<>
|
||||||
{logicalCores}
|
{logicalCores}
|
||||||
<Typography component="span">cores</Typography>
|
<Typography component="span">
|
||||||
|
{logicalCores === 1 ? "core" : "cores"}
|
||||||
|
</Typography>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
@@ -79,7 +83,7 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
|
|||||||
subHeading={
|
subHeading={
|
||||||
<>
|
<>
|
||||||
{cpuTemperature.toFixed(2)}
|
{cpuTemperature.toFixed(2)}
|
||||||
<Typography component="span">C</Typography>
|
<Typography component="span">°C</Typography>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user