From cf18a3cd60dbb0fb43077159dc56e1deaeaea1e6 Mon Sep 17 00:00:00 2001 From: Roman Usachev Date: Wed, 24 Feb 2016 05:45:10 +0300 Subject: [PATCH] Null vars fix --- app/components/container/containerController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/container/containerController.js b/app/components/container/containerController.js index 7ef89ab9c..ebac2b36b 100644 --- a/app/components/container/containerController.js +++ b/app/components/container/containerController.js @@ -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); + } } });