Update ping.jsx

pull/2129/head
shamoon 1 year ago
parent e8f6d81d13
commit 9f030d1540

@ -32,12 +32,13 @@ export default function Ping({ group, service, style }) {
} else {
const ping = t("common.ms", { value: data.latency, style: "unit", unit: "millisecond", maximumFractionDigits: 0 })
statusTitle += ` ${data.status} (${ping})`;
colorClass = "text-emerald-500/80 lowercase"
colorClass = "text-emerald-500/80"
if (style === "basic") {
statusText = t("ping.up")
} else {
statusText = ping
colorClass += " lowercase"
}
}

Loading…
Cancel
Save