mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
fix attendees type
This commit is contained in:
@@ -697,6 +697,10 @@ export class NewEventPage implements OnInit {
|
||||
let filterLoggedUserEmail = this.contacts.filter(item => item.RoleDescription == "Ministro e Director do Gabinete do PR")
|
||||
//console.log('Attendes Email', filterLoggedUserEmail)
|
||||
|
||||
if(filterLoggedUserEmail.length >= 1) {
|
||||
filterLoggedUserEmail[0].IsRequired = true
|
||||
}
|
||||
|
||||
this.contacts = filterLoggedUserEmail;
|
||||
const newAttendees: EventPerson[] = this.contacts;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user