Skip to content

Commit

Permalink
fix(kms): fix unexpected error on datepicker in credential creation (#…
Browse files Browse the repository at this point in the history
…13373)

ref: MANAGER-15441

Signed-off-by: Vincent BONMARCHAND <[email protected]>
  • Loading branch information
vovh authored Oct 3, 2024
1 parent 5f1087c commit 796b2e3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const CreateGeneralInformationsValidity = ({
if (validityPresetPeriod !== -1) {
setValidity(validityPresetPeriod);
} else {
if (!validityDatepicker) return;
setValidity(getDaysFromDate(validityDatepicker));
}
}, [validityPresetPeriod, validityDatepicker]);
Expand Down

0 comments on commit 796b2e3

Please sign in to comment.