Skip to content

Commit

Permalink
Merge pull request #1224 from ORCID/update-list-of-contact-roles
Browse files Browse the repository at this point in the history
update list of contact roles
  • Loading branch information
bobcaprice authored Jun 12, 2024
2 parents d358e0b + 54a4a01 commit 011eea1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
14 changes: 8 additions & 6 deletions ui/src/app/home/consortium/add-consortium-member.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ export class AddConsortiumMemberComponent implements OnInit {
})

rolesData = [
{ id: 1, selected: false, name: 'Main relationship contact' },
{ id: 2, selected: false, name: 'Voting contact' },
{ id: 3, selected: false, name: 'Technical contact' },
{ id: 4, selected: false, name: 'Invoice contact' },
{ id: 5, selected: false, name: 'Comms contact' },
{ id: 6, selected: false, name: 'Product contact' },
{ id: 1, selected: false, name: 'Agreement signatory (OFFICIAL)' },
{ id: 2, selected: false, name: 'Main relationship contact (OFFICIAL)' },
{ id: 3, selected: false, name: 'Voting contact' },
{ id: 4, selected: false, name: 'Technical contact' },
{ id: 5, selected: false, name: 'Invoice contact' },
{ id: 6, selected: false, name: 'Comms contact' },
{ id: 7, selected: false, name: 'Product contact' },
{ id: 8, selected: false, name: 'Other contact' },
]

constructor(
Expand Down
14 changes: 8 additions & 6 deletions ui/src/app/home/contact/contact-update.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ export class ContactUpdateComponent implements OnInit, OnDestroy {
faTrashAlt = faTrashAlt

rolesData = [
new SFMemberContactRole(1, false, 'Main relationship contact'),
new SFMemberContactRole(2, false, 'Voting contact'),
new SFMemberContactRole(3, false, 'Technical contact'),
new SFMemberContactRole(4, false, 'Invoice contact'),
new SFMemberContactRole(5, false, 'Comms contact'),
new SFMemberContactRole(6, false, 'Product contact'),
new SFMemberContactRole(1, false, 'Agreement signatory (OFFICIAL)'),
new SFMemberContactRole(2, false, 'Main relationship contact (OFFICIAL)'),
new SFMemberContactRole(3, false, 'Voting contact'),
new SFMemberContactRole(4, false, 'Technical contact'),
new SFMemberContactRole(5, false, 'Invoice contact'),
new SFMemberContactRole(6, false, 'Comms contact'),
new SFMemberContactRole(7, false, 'Product contact'),
new SFMemberContactRole(8, false, 'Other contact'),
]

validateContactRoles: ValidatorFn = (control: AbstractControl): ValidationErrors | null => {
Expand Down

0 comments on commit 011eea1

Please sign in to comment.