Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Mendoza Fernadez authored and Leonardo Mendoza Fernadez committed Jan 15, 2024
1 parent e153ac7 commit 5d5c437
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/app/core/register2/register2.form-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ export function Register2FormAdapterMixin<T extends Constructor<any>>(base: T) {
}

formGroupToAffiliationRegisterForm(formGroup: UntypedFormGroup) {
console.log(formGroup.value)

const value = formGroup.controls['organization'].value
const departmentName = formGroup.controls['departmentName'].value
const roleTitle = formGroup.controls['roleTitle'].value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ export class FormCurrentEmploymentComponent extends BaseForm implements OnInit {

mustBeOrganizationType(): ValidatorFn {
return (formGroup: UntypedFormGroup) => {
// const organization = formGroup.controls.organization.valuec
console.log('formGroup.value', formGroup.value)
if (formGroup.value && typeof formGroup.value === 'string') {
return { mustBeOrganizationType: true }
}
Expand Down

0 comments on commit 5d5c437

Please sign in to comment.