mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
add toDestroy to watch statement
This commit is contained in:
@@ -443,11 +443,11 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
$scope.isOld = 0;
|
$scope.isOld = 0;
|
||||||
$scope.showLegacyJobErrorMessage = false;
|
$scope.showLegacyJobErrorMessage = false;
|
||||||
|
|
||||||
$scope.$watch('isOld', function (val) {
|
toDestroy.push($scope.$watch('isOld', function (val) {
|
||||||
if (val >= 2) {
|
if (val >= 2) {
|
||||||
$scope.showLegacyJobErrorMessage = true;
|
$scope.showLegacyJobErrorMessage = true;
|
||||||
}
|
}
|
||||||
});
|
}));
|
||||||
|
|
||||||
// get header and recap lines
|
// get header and recap lines
|
||||||
var skeletonPlayCount = 0;
|
var skeletonPlayCount = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user