fix(network-details): displaying all subnets and gateways on network details (#2629)

pull/2632/head
baron_l 2019-01-16 23:39:15 +01:00 committed by Anthony Lapenna
parent 50a3b08209
commit 50e77d2bf1
1 changed files with 3 additions and 7 deletions

View File

@ -39,13 +39,9 @@
<td>Internal</td>
<td>{{ network.Internal }}</td>
</tr>
<tr ng-if="network.IPAM.Config[0].Subnet">
<td>Subnet</td>
<td>{{ network.IPAM.Config[0].Subnet }}</td>
</tr>
<tr ng-if="network.IPAM.Config[0].Gateway">
<td>Gateway</td>
<td>{{ network.IPAM.Config[0].Gateway }}</td>
<tr ng-if="network.IPAM.Config.length > 0" ng-repeat="config in network.IPAM.Config">
<td>Subnet - {{ config.Subnet }}</td>
<td>Gateway - {{ config.Gateway }}</td>
</tr>
</tbody>
</table>