mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Merge branch 'developer' into developer_mobilefirst
This commit is contained in:
@@ -1176,17 +1176,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();
|
||||
|
||||
Reference in New Issue
Block a user