mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix modal
This commit is contained in:
@@ -132,7 +132,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
<ion-buttons slot="end">
|
<ion-buttons slot="end">
|
||||||
<button class="btn-cancel" fill="clear" color="#061b52" (click)="close()">
|
<button class="btn-cancel" fill="clear" color="#061b52" (click)="cancel()">
|
||||||
<ion-label>Cancelar</ion-label>
|
<ion-label>Cancelar</ion-label>
|
||||||
</button>
|
</button>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
|
|||||||
@@ -398,6 +398,13 @@ export class NewPublicationPage implements OnInit {
|
|||||||
|
|
||||||
close() {
|
close() {
|
||||||
|
|
||||||
|
this.modalController.dismiss(this.PublicationFromMvService.form).then(() => {
|
||||||
|
alert('desmiss')
|
||||||
|
this.showLoader = true;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
cancel() {
|
||||||
alert('this.PublicationFromMvService.form.send'+ this.PublicationFromMvService.form.send)
|
alert('this.PublicationFromMvService.form.send'+ this.PublicationFromMvService.form.send)
|
||||||
if(this.PublicationFromMvService.form.send == false) {
|
if(this.PublicationFromMvService.form.send == false) {
|
||||||
this.PublicationFromMvService.cancel()
|
this.PublicationFromMvService.cancel()
|
||||||
@@ -405,6 +412,7 @@ export class NewPublicationPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.modalController.dismiss(this.PublicationFromMvService.form).then(() => {
|
this.modalController.dismiss(this.PublicationFromMvService.form).then(() => {
|
||||||
|
alert('desmiss2')
|
||||||
this.showLoader = true;
|
this.showLoader = true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user