From: Tiffany Little Date: Mon, 19 Dec 2022 20:26:29 +0000 (-0500) Subject: LP1991801 Reload page on same navigation X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c624a8a457672544c4a35a13d25311729133f8f5;p=evergreen%2Fpines.git LP1991801 Reload page on same navigation Signed-off-by: Tiffany Little --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts index 1f9bb0123a..107f83d06a 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts @@ -76,7 +76,10 @@ export class PoSummaryComponent implements OnInit, OnDestroy { private store: ServerStoreService, private liService: LineitemService, private poService: PoService - ) {} + ) { + this.router.routeReuseStrategy.shouldReuseRoute = () => { + return false;} + } ngOnInit() { this.load().then(_ => this.initDone = true); @@ -335,8 +338,7 @@ export class PoSummaryComponent implements OnInit, OnDestroy { this.initDone = true; this.liService.clearLiCache(); this.router.navigate([], { - relativeTo: this.route, - queryParamsHandling: 'merge' + relativeTo: this.route }); });