fix go back

This commit is contained in:
Peter Maquiran
2024-04-11 09:13:30 +01:00
parent fe29ee3bc5
commit 91a5a8796f
10 changed files with 87 additions and 25 deletions
@@ -246,19 +246,10 @@ export class PublicationFromMvService {
if (window["sharedContent"]) {
if (this.platform.is('android')) {
window["sharedContent"] = null
this.modalController.dismiss(this.form).then(() => {
this.router.navigate(['/home/publications', this.folderId])
});
window["sharedContent"] = null;
} else {
window["sharedContent"] = null
this.modalController.dismiss(this.form).then(() => {
this.router.navigate(['/home/publications', this.folderId])
});
window["sharedContent"] = null;
}
} else {
this.modalController.dismiss(this.form).then(() => {});
}
}