fix: host status shows online when the port answers and only warns on a failed login

This commit is contained in:
LukeGus committed 2026-09-30 18:18:38 -05:00
1 parent c28cb1bfc6
commit 49acec4770
14 files changed
+141 -141

No files matched your search

@@ -24,7 +24,7 @@ function StatusDot({ status }: { status: string }) {
status === "online"
? getAccentColor()
: status === "reachable"
? `color-mix(in srgb, ${getAccentColor()} 40%, transparent)`
? "#fbbf24"
: status === "offline"
? "#ef4444"
: "#6b7280";
@@ -60,14 +60,14 @@ function HostStatusWidget({
: online
? getAccentColor()
: reachable
? `color-mix(in srgb, ${getAccentColor()} 40%, transparent)`
? "#fbbf24"
: "#ef4444";
const onlineLabel = !statusInfo
? t("common.unknown")
: online
? t("common.online")
: reachable
? t("common.reachable", { defaultValue: "Reachable" })
? t("common.signInFailed")
: t("common.offline");
return (