Ensure we reset the days and hours when schedule is disabled
This commit is contained in:
@@ -213,6 +213,8 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
|
||||
|
||||
if ($scope.updateSchedule.currentPattern === 'never') {
|
||||
$scope.updateSchedule.type = 'never';
|
||||
$scope.updateSchedule.days = [];
|
||||
$scope.updateSchedule.hours = [];
|
||||
} else {
|
||||
$scope.updateSchedule.type = 'pattern';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user