diff --git a/Apollo/assets/js/controllers/dashboardCtrl.js b/Apollo/assets/js/controllers/dashboardCtrl.js index 4d55fc64..c2c359f9 100644 --- a/Apollo/assets/js/controllers/dashboardCtrl.js +++ b/Apollo/assets/js/controllers/dashboardCtrl.js @@ -10,6 +10,7 @@ app.controller('dashboardCtrl', ["$scope","toaster", "$filter", "ngTableParams", * this method called from view ng-init directive * created by kms * */ + $scope.todayFolloupDetails=""; $scope.initCallTracking = function () { var getCallTrack = { method: 'POST', @@ -25,15 +26,14 @@ app.controller('dashboardCtrl', ["$scope","toaster", "$filter", "ngTableParams", if (response.data.status==200) { if(response.data.todayStatus){ $scope.todayFolloupDetails=response.data.todayFolloupDetails; - console.log($scope.todayFolloupDetails) } else{ - $scope.todayFolloupDetails=response.data.todayFolloupDetails; + $scope.todayFolloupDetails='EMPTY'; } } else { - $scope.todayFolloupDetails="No Folloups today!"; + $scope.todayFolloupDetails='EMPTY'; } });