fix: certificate display behaiviour not showing date-picker for end-with-date

This commit is contained in:
Muhammad Anas
2024-10-18 18:35:13 +00:00
committed by Muhammad Anas
parent d5a7689647
commit 051eacb024

View File

@@ -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