Add attendees

This commit is contained in:
Peter Maquiran
2021-04-06 16:25:20 +01:00
parent 3ca5d0c8fe
commit affbc090d8
6 changed files with 35 additions and 23 deletions
@@ -1,7 +1,7 @@
<ion-content>
<div class="main-content height-100">
<div class="content d-flex flex-column width-100 height-100">
<div class="content d-flex flex-column width-md-100 height-100">
<div class="main-header pt-30 px-20 background-white pb-15">
<ion-header>
@@ -14,7 +14,7 @@
</div>
<ion-item-sliding class="overflow-y-auto">
<div>
<div class="px-20">
<div class="ion-item-container width-100">
<ion-input placeholder="Assunto" [(ngModel)]="postEvent.Subject"></ion-input>
@@ -201,7 +201,7 @@
</div>
</div>
</div>
<div hidden>
@@ -89,12 +89,9 @@ export class EditEventPage implements OnInit {
this.modalController.dismiss(this.isEventEdited);
}
async openAttendees()
{
async openAttendees(){
this.adding = 'intervenient';
if(window.innerWidth == 1024) {
if(window.innerWidth <= 1024) {
const modal = await this.modalController.create({
component: AttendeesPage,
componentProps: {
@@ -115,7 +112,6 @@ export class EditEventPage implements OnInit {
});
}
}
async dynamicSetIntervenient(data){
@@ -134,11 +130,13 @@ export class EditEventPage implements OnInit {
}
async addParticipants(){
this.adding = 'intervenient'
this.adding = 'intervenient';
this.openAttendees();
}
async addParticipantsCC(){
this.adding = 'CC'
this.adding = 'CC';
this.openAttendees();
}
async closeComponent(){}