mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
+1
-5
@@ -192,7 +192,6 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
//this.modalController.dismiss();
|
||||
let classs;
|
||||
if( window.innerWidth <= 800){
|
||||
classs = 'modal modal-desktop'
|
||||
@@ -210,15 +209,12 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res=>{
|
||||
console.log(res['data']);
|
||||
let body = res['data'];
|
||||
if(res['data']){
|
||||
console.log('open discart')
|
||||
this.distartExpedientModal(body);
|
||||
}
|
||||
else{
|
||||
console.log('Not open');
|
||||
this.goBack();
|
||||
this.close();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user