Skip to content

Instantly share code, notes, and snippets.

@shaun-sweet
Created September 29, 2017 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaun-sweet/8dabb58b007da3fd0dc6298f866c6593 to your computer and use it in GitHub Desktop.
Save shaun-sweet/8dabb58b007da3fd0dc6298f866c6593 to your computer and use it in GitHub Desktop.
function refreshWeeks (sourceScheduleId, targetScheduleId) {
if (targetScheduleId !== sourceScheduleId) {
RefreshService.refresh({
weekId: sourceScheduleId,
});
}
RefreshService.refresh({
weekId: targetScheduleId,
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment