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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user