diff --git a/ui/src/app/affiliation/affiliation-update.component.html b/ui/src/app/affiliation/affiliation-update.component.html index 8a8873cec..9f9836406 100644 --- a/ui/src/app/affiliation/affiliation-update.component.html +++ b/ui/src/app/affiliation/affiliation-update.component.html @@ -325,7 +325,7 @@ (change)="onStartDateSelected(true)" > - +
diff --git a/ui/src/app/affiliation/affiliation-update.component.ts b/ui/src/app/affiliation/affiliation-update.component.ts index 9035cb6a9..52155a625 100644 --- a/ui/src/app/affiliation/affiliation-update.component.ts +++ b/ui/src/app/affiliation/affiliation-update.component.ts @@ -227,10 +227,10 @@ export class AffiliationUpdateComponent implements OnInit { roleTitle: assertion.roleTitle, url: assertion.url, startYear: assertion.startYear, - startMonth: parseInt(assertion.startMonth || '') || null, + startMonth: assertion.startMonth, startDay: assertion.startDay, endYear: assertion.endYear, - endMonth: parseInt(assertion.endMonth || '') || null, + endMonth: assertion.endMonth, endDay: assertion.endDay, orgName: assertion.orgName, orgCountry: assertion.orgCountry,