Skip to content

Commit

Permalink
Review feedback fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyzb committed Oct 20, 2022
1 parent 4fecf0c commit 1063e7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/repeat/src/repeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ Vue.use(VueRouter);
// from GET query parameters.

this.$watch('date', () => {
//$('#datepicker').datepicker("setDate", moment(component.date).format('YYYY-MM-DD'));
this.runAjaxRequest();
this.runAjaxWeekResultsRequest();
this.resetPager();
Expand Down Expand Up @@ -249,7 +248,7 @@ Vue.use(VueRouter);
return diff > -limitDays;
}
}).on('changeDate', function (event) {
// In case if we use unselect date.
// In case we use unselect date.
var date = new Date().toISOString();
if (event.format()) {
var parsed = moment(event.format(), 'YYYY-MM-DD');
Expand Down

0 comments on commit 1063e7c

Please sign in to comment.