diff --git a/app/(main)/ClientComponents/ServerDetailClient.tsx b/app/(main)/ClientComponents/ServerDetailClient.tsx index 07f8e63..fbd38f9 100644 --- a/app/(main)/ClientComponents/ServerDetailClient.tsx +++ b/app/(main)/ClientComponents/ServerDetailClient.tsx @@ -209,7 +209,9 @@ export default function ServerDetailClient({ {data.status.Load1} / {data.status.Load5} /{" "} {data.status.Load15} - ) :
Unknown
} + ) : ( +
Unknown
+ )} @@ -222,7 +224,9 @@ export default function ServerDetailClient({ {" "} {formatBytes(data.status.NetOutTransfer)}{" "} - ) :
Unknown
} + ) : ( +
Unknown
+ )} @@ -235,7 +239,9 @@ export default function ServerDetailClient({ {" "} {formatBytes(data.status.NetInTransfer)}{" "} - ) :
Unknown
} + ) : ( +
Unknown
+ )} diff --git a/app/(main)/ClientComponents/ServerListClient.tsx b/app/(main)/ClientComponents/ServerListClient.tsx index 26d29ac..1e01f84 100644 --- a/app/(main)/ClientComponents/ServerListClient.tsx +++ b/app/(main)/ClientComponents/ServerListClient.tsx @@ -162,7 +162,7 @@ export default function ServerListClient() { {inline === "1" && (
{filteredServers.map((serverInfo) => ( diff --git a/components/ServerCardInline.tsx b/components/ServerCardInline.tsx index a7a9f4d..70fe641 100644 --- a/components/ServerCardInline.tsx +++ b/components/ServerCardInline.tsx @@ -79,7 +79,7 @@ export default function ServerCardInline({ -
+

{t("Uptime")}

{(serverInfo?.status.Uptime / 86400).toFixed(0)} {"Days"} @@ -106,7 +106,7 @@ export default function ServerCardInline({
-
+

{t("Upload")}

{up >= 1024 @@ -114,7 +114,7 @@ export default function ServerCardInline({ : `${up.toFixed(2)}M/s`}
-
+

{t("Download")}

{down >= 1024 @@ -122,7 +122,7 @@ export default function ServerCardInline({ : `${down.toFixed(2)}M/s`}
-
+

{t("TotalUpload")}

@@ -130,7 +130,7 @@ export default function ServerCardInline({ {formatBytes(serverInfo.status.NetOutTransfer)}
-
+

{t("TotalDownload")}