This commit is contained in:
Peter Maquiran
2023-07-15 11:01:09 +01:00
parent a61ee6c07e
commit eba2b7f9ce
76 changed files with 525 additions and 218 deletions
@@ -48,7 +48,7 @@ export class DiplomaOptionsPage implements OnInit {
}
async openAddNoteModal(actionName:string) {
this.popoverController.dismiss();
// this.popoverController.dismiss();
let classs;
if( window.innerWidth <= 800) {
classs = 'modal modal-desktop'
@@ -64,8 +64,6 @@ export class DiplomaOptionsPage implements OnInit {
backdropDismiss: true
});
await modal.present();
modal.onDidDismiss().then(async (res) => {
if(res.data){
@@ -102,6 +100,8 @@ export class DiplomaOptionsPage implements OnInit {
}, (error) => {
console.log(error)
});
await modal.present();
}
async askToChange(note:string, documents:any){
@@ -289,7 +289,6 @@ export class DiplomaOptionsPage implements OnInit {
},
cssClass: classs,
});
await modal.present();
modal.onDidDismiss().then(async (res) => {
@@ -300,7 +299,11 @@ export class DiplomaOptionsPage implements OnInit {
this.goBack();
}, (error) => {
console.log(error)
});
}).catch(e => {
console.log(e)
})
await modal.present();
}
async distartExpedientModal() {
@@ -316,7 +319,6 @@ export class DiplomaOptionsPage implements OnInit {
backdropDismiss: false
});
await modal.present();
modal.onDidDismiss().then(res => {
if (res['data'] == 'close') {
this.close();
@@ -325,7 +327,14 @@ export class DiplomaOptionsPage implements OnInit {
this.openMenu(); */
}
});
}, (error) => {
console.log(error)
}).catch(e => {
console.log(e)
})
await modal.present();
}
goBack() {