1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

Add 'or' to display either PortMapping or PortSpecs

This commit is contained in:
Mike Carr 2013-10-22 14:49:19 -07:00
parent 737af8a8d8
commit f79e3b91ed

View file

@ -24,7 +24,10 @@
</tr>
<tr>
<td>Ports:</td>
<td>{{ container.NetworkSettings.PortMapping }}</td>
<td>
{{ container.NetworkSettings.PortMapping || container.Config.PortSpecs }}
</td>
</tr>
<tr>
<td>Hostname:</td>