Merge pull request #2421 from bluewave-labs/hotfix/duplicate-strings
hotfix: duplicate strings, remove uptime percentage
This commit is contained in:
2 files changed
+6
-8
No files matched your search
@@ -14,7 +14,7 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
|
|||||||
const { determineState } = useUtils();
|
const { determineState } = useUtils();
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const { stats, uptimePercentage } = monitor ?? {};
|
const { stats } = monitor ?? {};
|
||||||
const latestCheck = stats?.aggregateData?.latestCheck;
|
const latestCheck = stats?.aggregateData?.latestCheck;
|
||||||
|
|
||||||
// Get data from latest check
|
// Get data from latest check
|
||||||
@@ -95,7 +95,7 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
|
|||||||
heading={t("disk")}
|
heading={t("disk")}
|
||||||
subHeading={formatBytes(diskTotalBytes)}
|
subHeading={formatBytes(diskTotalBytes)}
|
||||||
/>
|
/>
|
||||||
<StatBox
|
{/* <StatBox
|
||||||
heading={t("uptime")}
|
heading={t("uptime")}
|
||||||
subHeading={
|
subHeading={
|
||||||
<>
|
<>
|
||||||
@@ -103,7 +103,7 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => {
|
|||||||
<Typography component="span">%</Typography>
|
<Typography component="span">%</Typography>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/> */}
|
||||||
<StatBox
|
<StatBox
|
||||||
key={8}
|
key={8}
|
||||||
heading={t("os")}
|
heading={t("os")}
|
||||||
|
|||||||
@@ -614,7 +614,9 @@
|
|||||||
"monitorStatus": {
|
"monitorStatus": {
|
||||||
"up": "up",
|
"up": "up",
|
||||||
"down": "down",
|
"down": "down",
|
||||||
"paused": "paused"
|
"paused": "paused",
|
||||||
|
"checkingEvery": "Checking every {{interval}}",
|
||||||
|
"withCaptureAgent": "with Capture agent {{version}}"
|
||||||
},
|
},
|
||||||
"roles": {
|
"roles": {
|
||||||
"superAdmin": "Super admin",
|
"superAdmin": "Super admin",
|
||||||
@@ -723,9 +725,5 @@
|
|||||||
"ping": "Enter the IP address or hostname to ping (e.g., 192.168.1.100 or example.com) and add a clear display name that appears on the dashboard.",
|
"ping": "Enter the IP address or hostname to ping (e.g., 192.168.1.100 or example.com) and add a clear display name that appears on the dashboard.",
|
||||||
"docker": "Enter the Docker ID of your container. Docker IDs must be the full 64 char Docker ID. You can run docker inspect <short_id> to get the full container ID.",
|
"docker": "Enter the Docker ID of your container. Docker IDs must be the full 64 char Docker ID. You can run docker inspect <short_id> to get the full container ID.",
|
||||||
"port": "Enter the URL or IP of the server, the port number and a clear display name that appears on the dashboard."
|
"port": "Enter the URL or IP of the server, the port number and a clear display name that appears on the dashboard."
|
||||||
},
|
|
||||||
"monitorStatus": {
|
|
||||||
"checkingEvery": "Checking every {{interval}}",
|
|
||||||
"withCaptureAgent": "with Capture agent {{version}}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user