This commit is contained in:
tiago.kayaya
2021-06-22 15:17:35 +01:00
parent 1888fea538
commit 2ccb8638ac
5 changed files with 65 additions and 27 deletions
+2 -11
View File
@@ -1175,17 +1175,8 @@ export class AgendaPage implements OnInit {
async viewEventsToApprove(){
await this.cloneAllmobileComponent()
if( window.innerWidth <= 1024){
const modal = await this.modalCtrl.create({
component: EventListPage,
componentProps:{
profile: this.profile,
},
cssClass: 'modal modal-desktop',
backdropDismiss: false
});
await modal.present();
modal.onDidDismiss();
if( window.innerWidth <= 801){
this.router.navigate(['/home/agenda/event-list']);
} else {
// hide all components
this.cloneAllmobileComponent();