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:
commit
b89546a1e0
2 changed files with 5 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue