This commit is contained in:
Peter Maquiran
2024-04-03 15:28:58 +01:00
parent 00a58e12f4
commit 1671ace745
5 changed files with 41 additions and 14 deletions
@@ -409,21 +409,31 @@ export class NewPublicationPage implements OnInit {
close() {
this.modalController.dismiss(this.PublicationFromMvService.form).then(() => {
this.showLoader = true;
});
}
cancel() {
this.PublicationFromMvService.form.cancel = true
if(this.PublicationFromMvService.form.send == false) {
this.PublicationFromMvService.cancel()
this.PublicationFromMvService.ObjectMergeNotification.close()
}
this.modalController.dismiss(this.PublicationFromMvService.form).then(() => {
this.showLoader = true;
});
if (window["sharedContent"]) {
if (this.platform.is('android')) {
App.exitApp()
} else {
window["sharedContent"] = null;
this.close()
}
} else {
this.close()
}
}
clear() {