1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 13:59:40 +02:00

Null vars fix

This commit is contained in:
Roman Usachev 2016-02-24 05:45:10 +03:00
parent cc1b67575c
commit cf18a3cd60

View file

@ -59,8 +59,6 @@
$scope.newCfg.Binds.push(bind);
});
console.log($scope.newCfg);
ViewSpinner.stop();
}, function (e) {
if (e.status === 404) {
@ -130,7 +128,9 @@
if (b.ReadOnly) {
bindLine += ':ro';
}
binds.push(bindLine);
if (b.HostPath != '' || !b.DefaultBind) {
binds.push(bindLine);
}
}
});