improve go back

This commit is contained in:
Peter Maquiran
2022-01-06 14:47:22 +01:00
parent be06d3b3d1
commit 73354e00af
28 changed files with 153 additions and 58 deletions
@@ -12,6 +12,7 @@ import { SearchedDocumentOptionsPage } from 'src/app/shared/popover/searched-doc
import { Location } from '@angular/common';
import { ViewDocumentPage } from '../view-document/view-document.page';
import { ThemeService } from 'src/app/services/theme.service'
import { RouteService } from 'src/app/services/route.service';
@Component({
@@ -225,7 +226,7 @@ export class DocumentDetailPage implements OnInit {
});
await modal.present();
modal.onDidDismiss().then(res=>{
//this.location.back();
//this.RouteService.goBack();
});
}
@@ -248,7 +249,7 @@ export class DocumentDetailPage implements OnInit {
});
await modal.present();
modal.onDidDismiss().then(res=>{
this.location.back();
this.RouteService.goBack();
});
} */