1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

Merge branch 'fix-108-dashboard-no-volumes' into internal

This commit is contained in:
Anthony Lapenna 2016-08-10 15:41:34 +12:00
commit b89546a1e0
2 changed files with 5 additions and 3 deletions

View file

@ -50,7 +50,9 @@ function ($scope, $q, Config, Container, Image, Network, Volume, Info) {
function prepareVolumeData(d) {
var volumes = d.Volumes;
$scope.volumeData.total = volumes.length;
if (volumes) {
$scope.volumeData.total = volumes.length;
}
}
function prepareNetworkData(d) {