Skip to content

Commit

Permalink
fix: certificate display behaiviour not showing date-picker for end-w…
Browse files Browse the repository at this point in the history
…ith-date
  • Loading branch information
Anas12091101 committed Oct 18, 2024
1 parent f2ad108 commit 03920eb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cms/static/js/views/settings/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,6 @@ function(ValidatingView, CodeMirror, _, $, ui, DateUtils, FileUploadModel,
Hides and clears the certificate available date field if a display behavior that doesn't use it is
chosen. Because we are clearing it, toggling back to "end_with_date" will require re-entering the date
*/
if (!this.useV2CertDisplaySettings) {
return;
}
// eslint-disable-next-line prefer-const
let showDatepicker = this.model.get('certificates_display_behavior') == 'end_with_date';
// eslint-disable-next-line prefer-const
Expand Down

0 comments on commit 03920eb

Please sign in to comment.