{jumpableSessions.length > 0 && (
{t("tray.sessions")}
{jumpableSessions.map((s) => (
))}
)}
{recentHosts.length > 0 && (
{t("tray.recentHosts")}
{recentHosts.map((rh) => (
))}
)}
{portForwardingRules.length > 0 && (
{t("tray.portForwarding")}
{portForwardingRules.map((rule) => {
const isConnecting = rule.status === "connecting";
const isActive = rule.status === "active";
const label = rule.label || (rule.type === "dynamic"
? `SOCKS:${rule.localPort}`
: `${rule.localPort} → ${rule.remoteHost}:${rule.remotePort}`);
return (
);
})}
)}