fix button size

This commit is contained in:
Peter Maquiran
2024-07-11 12:47:36 +01:00
parent 4f51cb5550
commit 5cf4054047
4 changed files with 86 additions and 83 deletions
@@ -149,9 +149,7 @@ export class NewEventPage implements OnInit {
private dateAdapter: DateAdapter<any>,
public ThemeService: ThemeService,
private hhtpErrorHandle: HttpErrorHandle,
private processeService: ProcessesService,
public TaskService: TaskService,
private contactsService: ContactsService,
private changeProfileService: ChangeProfileService,
private agendaDataRepository: AgendaDataRepositoryService,
public RoleIdService: RoleIdService,
@@ -694,7 +692,12 @@ export class NewEventPage implements OnInit {
this.contacts = result;
console.log('Attendes Email', this.loggeduser.Email)
let filterLoggedUserEmail = this.contacts.filter(item => item.RoleId == this.RoleIdService.MD)
console.log('Attendes Email', filterLoggedUserEmail)
console.log('Attendes Email', filterLoggedUserEmail);
if(filterLoggedUserEmail.length >= 1) {
filterLoggedUserEmail[0].IsRequired = true
}
this.contacts = filterLoggedUserEmail;