adds comment for setUntil function

This commit is contained in:
Jared Tabor 2018-05-10 09:34:39 -07:00
parent 04b8349895
commit 0c45d917d1
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C

View File

@ -130,6 +130,9 @@ function($filter, $state, $stateParams, Wait, $scope, moment,
});
}
// sets the UNTIL portion of the schedule form after the angular-scheduler
// sets it, but this function reads the 'until' key/value pair directly
// from the schedule GET response.
function setUntil (scheduler) {
let { until } = scheduleResolve;
if(until !== ''){