Improve Attendees component for agenda

This commit is contained in:
Peter Maquiran
2021-03-29 17:00:21 +01:00
parent fd8aaaa844
commit 1cf2ecf0a1
2 changed files with 5 additions and 5 deletions
@@ -32,7 +32,6 @@ export class AttendeeModalPage implements OnInit {
// set data to agenda component
this.setContact.emit(this.selectedContact);
// got back
this.GoBackEditOrAdd.emit();
}
@@ -75,7 +74,7 @@ export class AttendeeModalPage implements OnInit {
async selectContact(itm: EventPerson){
const index = 0;
const findIndex = this.selectedContact.find((contact, index)=>{
const findIndex = this.selectedContact.find((contact, index)=>{
if(contact.Name == itm.Name && contact.EmailAddress == itm.EmailAddress){
index = index;