Add responsiveness to edit event component in agenda

This commit is contained in:
Peter Maquiran
2021-03-25 11:38:59 +01:00
parent 9b71c33c7b
commit f072ff46f6
5 changed files with 33 additions and 38 deletions
+1
View File
@@ -346,6 +346,7 @@
[selectedSegment]="segment"
[postEvent]="postEvent"
(cloneAllmobileComponent)="cloneAllmobileComponent()"
(clearContact)="clearContact()"
></app-edit-event>
<!-- View -->
+8 -9
View File
@@ -111,7 +111,7 @@ export class AgendaPage implements OnInit {
startTime: Date;
endTime: Date;
mobileComponent: any = {
mobileComponent = {
showAddNewEvent: false,
showEditEvent: false,
showEventDetails: false,
@@ -886,14 +886,13 @@ export class AgendaPage implements OnInit {
}
async cloneAllmobileComponent(){
this.mobileComponent= {
showAddNewEvent: false,
showEditEvent: false,
showEventDetails: false,
showEventList: false,
showEventToApprove: false
}
this.mobileComponent.showAddNewEvent = false;
this.mobileComponent.showEditEvent = false;
this.mobileComponent.showEventDetails = false;
this.mobileComponent.showEventList = false;
this.mobileComponent.showEventToApprove = false;
this.mobileComponent.showAttendees = false;
this.closeEventToApprove();