diff --git a/client/cat3/src/partials/sections/dashboard/workzone/blueprint/popups/blueprintLaunchParamsCtrl.js b/client/cat3/src/partials/sections/dashboard/workzone/blueprint/popups/blueprintLaunchParamsCtrl.js index ce0b302dd..d12a574f1 100644 --- a/client/cat3/src/partials/sections/dashboard/workzone/blueprint/popups/blueprintLaunchParamsCtrl.js +++ b/client/cat3/src/partials/sections/dashboard/workzone/blueprint/popups/blueprintLaunchParamsCtrl.js @@ -30,6 +30,12 @@ $scope.getMonitorList = function(orgId) { workzoneServices.getMonitorList(orgId).then(function (response) { $scope.monitorList = response.data; + for(var i=0; i<$scope.monitorList.length; i++){ + if($scope.monitorList[i].isDefault){ + $scope.monitorId = $scope.monitorList[i]._id; + break; + } + } }); }; genericServices.getTreeNew().then(function (envData) { diff --git a/client/cat3/src/partials/sections/dashboard/workzone/instance/popups/InstanceImportByIpCtrl.js b/client/cat3/src/partials/sections/dashboard/workzone/instance/popups/InstanceImportByIpCtrl.js index 5ce3faf27..1172d5354 100644 --- a/client/cat3/src/partials/sections/dashboard/workzone/instance/popups/InstanceImportByIpCtrl.js +++ b/client/cat3/src/partials/sections/dashboard/workzone/instance/popups/InstanceImportByIpCtrl.js @@ -28,6 +28,12 @@ var p = workzoneEnvironment.getEnvParams(); workzoneServices.getMonitorList(p.org).then(function (response) { $scope.monitorList = response.data; + for(var i=0; i<$scope.monitorList.length; i++){ + if($scope.monitorList[i].isDefault){ + $scope.monitorId = $scope.monitorList[i]._id; + break; + } + } }); $scope.tagServerChecking = function() { if($scope.tagServerCheck){ diff --git a/client/htmls/private/ajax/Settings/ProvidersList.html b/client/htmls/private/ajax/Settings/ProvidersList.html index bc6351dc6..86f8690b0 100755 --- a/client/htmls/private/ajax/Settings/ProvidersList.html +++ b/client/htmls/private/ajax/Settings/ProvidersList.html @@ -49,9 +49,6 @@