Null vars fix

pull/2/head
Roman Usachev 2016-02-24 05:45:10 +03:00
parent cc1b67575c
commit cf18a3cd60
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}
} }
}); });