This commit is contained in:
Peter Maquiran
2021-08-13 09:45:44 +01:00
parent b12d440431
commit 4302ed983f
5 changed files with 28 additions and 63 deletions
@@ -176,7 +176,18 @@ export class DocumentDetailPage implements OnInit {
},
translucent: true
});
return await popover.present();
await popover.present()
popover.onDidDismiss().then((res:any) => {
if(res.data.component == 'openBookMeetingModal') {
this.openBookMeetingModal()
} else if(res.data.component == 'openExpedientActionsModal') {
this.openExpedientActionsModal(res.data.taskAction)
} else {
console.log(res.data)
alert('component not found')
}
});
}
}