LP1991801 Reload page on same navigation user/tlittle/LP1991801_refreshafteractivation
authorTiffany Little <tlittle@georgialibraries.org>
Mon, 19 Dec 2022 20:26:29 +0000 (15:26 -0500)
committerTiffany Little <tlittle@georgialibraries.org>
Mon, 19 Dec 2022 20:26:29 +0000 (15:26 -0500)
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts

index 1f9bb01..107f83d 100644 (file)
@@ -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
                     });
                 });