Use evalAsync instead of digest() (#3001)

Co-authored-by: Deep Tailor <deep.j.tailor@nasa.gov>
This commit is contained in:
Andrew Henry
2020-05-05 12:23:41 -07:00
committed by GitHub
parent a70facf0c8
commit a5f3ba6259

View File

@ -227,8 +227,9 @@ define([
}; };
PlotController.prototype.stopLoading = function () { PlotController.prototype.stopLoading = function () {
this.$scope.pending -= 1; this.$scope.$evalAsync(() => {
this.$scope.$digest(); this.$scope.pending -= 1;
});
}; };
/** /**