Skip to content

Commit 8f0ddeb

Browse files
authored
Merge pull request #2841 from objectcomputing/bugfix-2838/earned-cetification-expiration-date
Fixed incorrect value used for expiration date.
2 parents bade29a + 2cc42d6 commit 8f0ddeb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web-ui/src/components/certifications/EarnedCertificationsTable.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,10 @@ const EarnedCertificationsTable = ({
329329
}}
330330
/>
331331
<DatePickerField
332-
date={new Date(selectedEarned?.earnedDate)}
332+
date={selectedEarned?.expirationDate
333+
? new Date(selectedEarned?.expirationDate)
334+
: null
335+
}
333336
label="Expiration"
334337
setDate={date => {
335338
setSelectedEarned({

0 commit comments

Comments
 (0)