Replaced scope.apply by scope.digest (performance)

This commit is contained in:
Jesús 2017-11-24 16:55:12 +01:00
parent d8f463a0e2
commit b3fd6adf5b

View File

@ -60,7 +60,7 @@ app.controller('managerStatusController', function ($scope,$rootScope, Notifier,
.then(agentInfo => {
$scope.agentInfo = agentInfo.data.data;
$scope.load = false;
$scope.$apply();
$scope.$digest();
})
.catch(error => notify.error(error.message));