mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
Auto close modal for table
This commit is contained in:
@@ -42,6 +42,13 @@ export class ApproveEventModalPage implements OnInit {
|
||||
ngOnInit() {
|
||||
this.getTask();
|
||||
this.getAttachments();
|
||||
|
||||
window.onresize = (event) => {
|
||||
// if not mobile remove all component
|
||||
if( window.innerWidth >= 1024){
|
||||
this.modalController.dismiss(null);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
notImplemented(){
|
||||
|
||||
Reference in New Issue
Block a user