mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
improve form validation
This commit is contained in:
@@ -367,14 +367,14 @@ export class PublicationsPage implements OnInit {
|
||||
//translucent: true
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res =>{
|
||||
if(res['data']=='edit'){
|
||||
modal.onDidDismiss().then(res => {
|
||||
if(res['data']=='edit') {
|
||||
this.closeDesktopComponent();
|
||||
this.desktopComponent.showEditActions = true;
|
||||
} else if (res['data']=='delete') {
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
this.getActions();
|
||||
},1000)
|
||||
}, 1000)
|
||||
this.closeDesktopComponent()
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user