mirror of https://github.com/portainer/portainer
Null vars fix
parent
cc1b67575c
commit
cf18a3cd60
|
@ -59,8 +59,6 @@
|
||||||
$scope.newCfg.Binds.push(bind);
|
$scope.newCfg.Binds.push(bind);
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log($scope.newCfg);
|
|
||||||
|
|
||||||
ViewSpinner.stop();
|
ViewSpinner.stop();
|
||||||
}, function (e) {
|
}, function (e) {
|
||||||
if (e.status === 404) {
|
if (e.status === 404) {
|
||||||
|
@ -130,7 +128,9 @@
|
||||||
if (b.ReadOnly) {
|
if (b.ReadOnly) {
|
||||||
bindLine += ':ro';
|
bindLine += ':ro';
|
||||||
}
|
}
|
||||||
binds.push(bindLine);
|
if (b.HostPath != '' || !b.DefaultBind) {
|
||||||
|
binds.push(bindLine);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue