refactor(NetworkConfigManager): update server DNS display logic for improved clarity; localize indicator type for better user understanding
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m36s

This commit is contained in:
2026-01-22 15:40:39 +07:00
parent 849247002c
commit 29e0679038
+9 -2
View File
@@ -898,7 +898,14 @@ function NetworkConfigManager() {
<IconServer size={16} className="text-primary" />
</span>
<div>
<span className="fw-medium">{server?.dns || serverId}</span>
<span className="fw-medium">
{server?.dns ? server.dns.split('.')[0] : (server?.name || serverId)}
</span>
{server?.dns && (
<span className="text-muted ms-2 small">
{server.dns}
</span>
)}
{server && (
<span className="text-muted ms-2 small">
{server.ip}
@@ -982,7 +989,7 @@ function NetworkConfigManager() {
const firstParent = parentGatewaysList.length > 0 ? getParentGateway(parentGatewaysList[0].id) : null;
// Определяем тип индикатора (как в ServerCard)
const indicatorType = gateway.type === 'recursive' ? 'EXIT' : 'JUMP';
const indicatorType = gateway.type === 'recursive' ? 'Рекурсивный' : 'Прямой';
const indicatorColor = gateway.type === 'recursive' ? 'red' : 'blue';
const IndicatorIcon = gateway.type === 'recursive' ? IconArrowsRightLeft : IconRouter;