Skip to content

Commit 8a97401

Browse files
author
dushixiang
committed
优化前端
1 parent beeb665 commit 8a97401

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/src/pages/Public/ServerDetail.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,9 +861,8 @@ const ServerDetail = () => {
861861
</span>
862862
</div>
863863
<p className="mt-2 text-sm text-white/80">
864-
{agent.hostname} · {agent.ip}
864+
{[agent.hostname, agent.ip].filter(Boolean).join(' · ') || '-'}
865865
</p>
866-
<p className="text-xs text-white/60">公共视图 · 实时监控概览</p>
867866
</div>
868867
</div>
869868
</div>

0 commit comments

Comments
 (0)