From 15ba67619c3ed8014c66e5f46b3e203b20df85d8 Mon Sep 17 00:00:00 2001 From: Tiffany Little Date: Mon, 19 Dec 2022 15:26:29 -0500 Subject: [PATCH] LP1991801 Reload page on same navigation Signed-off-by: Tiffany Little --- Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 }); }); -- 2.11.0