Skip to content

Commit

Permalink
Patch the empty month and year selection of blocked periods (#1494)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Apr 15, 2024
1 parent 5b2ce2e commit 8bdb762
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/js/pages/blocked_periods.js
Expand Up @@ -80,6 +80,9 @@ App.Pages.BlockedPeriods = (function () {
$blockedPeriods.find('.record-details .form-label span').prop('hidden', false);
$filterBlockedPeriods.find('button').prop('disabled', true);
$filterBlockedPeriods.find('.results').css('color', '#AAA');

App.Utils.UI.setDateTimePickerValue($startDateTime, moment('00:00', 'HH:mm').toDate());
App.Utils.UI.setDateTimePickerValue($endDateTime, moment('00:00', 'HH:mm').add(1, 'day').toDate());
});

/**
Expand Down

0 comments on commit 8bdb762

Please sign in to comment.