diff --git a/awx/ui/client/lib/angular-scheduler/lib/angular-scheduler.html b/awx/ui/client/lib/angular-scheduler/lib/angular-scheduler.html index a13551c8a4..d20f5d6d82 100644 --- a/awx/ui/client/lib/angular-scheduler/lib/angular-scheduler.html +++ b/awx/ui/client/lib/angular-scheduler/lib/angular-scheduler.html @@ -25,7 +25,7 @@
Note: For facts collected older than the time period specified, save one fact scan (snapshot) per time window (frequency). For example, facts older than 30 days are purged, while one weekly fact scan is kept. Caution: Setting both numerical variables to "0" will delete all facts.
-
+
A value is required.
diff --git a/awx/ui/client/src/helpers/Schedules.js b/awx/ui/client/src/helpers/Schedules.js index 6c07823926..05aba42be6 100644 --- a/awx/ui/client/src/helpers/Schedules.js +++ b/awx/ui/client/src/helpers/Schedules.js @@ -220,13 +220,13 @@ export default Rest.get() .success(function(data) { schedule = data; - if(schedule.hasOwnProperty('extra_data')) { - if(schedule.extra_data.hasOwnProperty('granularity')){ - scope.isFactCleanup = true; - } else { - scope.cleanupJob = true; - } + if(schedule.extra_data.hasOwnProperty('granularity')){ + scope.isFactCleanup = true; } + if (schedule.extra_data.hasOwnProperty('days')){ + scope.cleanupJob = true; + } + scope.$emit('ScheduleFound'); }) .error(function(data,status){