mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Add responsiveness to edit event component in agenda
This commit is contained in:
@@ -346,6 +346,7 @@
|
||||
[selectedSegment]="segment"
|
||||
[postEvent]="postEvent"
|
||||
(cloneAllmobileComponent)="cloneAllmobileComponent()"
|
||||
(clearContact)="clearContact()"
|
||||
></app-edit-event>
|
||||
|
||||
<!-- View -->
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user