Update TargetDetailPage to display target-specific port

Replaced the instance port display with the target-specific port using `targetMeta?.port`. This ensures the displayed port aligns with the specific target's metadata.
This commit is contained in:
2026-02-12 11:01:49 +01:00
parent adf1a4f6fd
commit 5ab7ae1064

View File

@@ -127,7 +127,10 @@ export function TargetDetailPage() {
<span>Uptime</span><strong>{formatSeconds(overview.instance.uptime_seconds)}</strong>
</div>
<div><span>Database</span><strong>{overview.instance.current_database || "-"}</strong></div>
<div><span>Port</span><strong>{overview.instance.port ?? "-"}</strong></div>
<div>
<span>Target Port</span>
<strong>{targetMeta?.port ?? "-"}</strong>
</div>
<div title="Groesse der aktuell verbundenen Datenbank">
<span>Current DB Size</span><strong>{formatBytes(overview.storage.current_database_size_bytes)}</strong>
</div>