fix(container-details): connected network section disappearing (#1092)

pull/1099/head
Liam Cottam 7 years ago committed by Anthony Lapenna
parent b5429f7504
commit 12adeadc94

@ -262,7 +262,7 @@
</div> </div>
</div> </div>
<div class="row" ng-if="!(container.NetworkSettings.Networks | emptyobject)"> <div class="row">
<div class="col-lg-12 col-md-12 col-xs-12"> <div class="col-lg-12 col-md-12 col-xs-12">
<rd-widget> <rd-widget>
<rd-widget-header icon="fa-sitemap" title="Connected networks"> <rd-widget-header icon="fa-sitemap" title="Connected networks">
@ -296,6 +296,9 @@
<button type="button" class="btn btn-xs btn-danger" ng-click="containerLeaveNetwork(container, value.NetworkID)"><i class="fa fa-trash space-right" aria-hidden="true"></i>Leave Network</button> <button type="button" class="btn btn-xs btn-danger" ng-click="containerLeaveNetwork(container, value.NetworkID)"><i class="fa fa-trash space-right" aria-hidden="true"></i>Leave Network</button>
</td> </td>
</tr> </tr>
<tr ng-if="(container.NetworkSettings.Networks | emptyobject)">
<td colspan="5" class="text-center text-muted">No networks connected.</td>
</tr>
</tbody> </tbody>
</table> </table>
<div class="pagination-controls"> <div class="pagination-controls">

Loading…
Cancel
Save