feat(containers-dashboard): voeg host_ip toe aan gepubliceerde poorten en corrigeer portweergave
This commit is contained in:
@@ -635,9 +635,8 @@
|
||||
const podName = c.PodName || '-';
|
||||
const image = c.Image || c.image || '';
|
||||
const managed = c._dashboard_source || 'podman';
|
||||
const ports = (c.Ports || []).map(p =>
|
||||
`${p.host_port}:${p.container_port}`
|
||||
).join(", ");
|
||||
const ports = (c._dashboard_published_ports || []).join(", ")
|
||||
|| (c.Ports || []).map(p => `${p.host_port}:${p.container_port}`).join(", ");
|
||||
return `
|
||||
<tr>
|
||||
<td><strong>${esc(name)}</strong></td>
|
||||
|
||||
Reference in New Issue
Block a user