From 61e1b5fc3e386a2c1b04ea6472b61b7ab3c58ce7 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 2 Aug 2021 18:34:02 -0400 Subject: [PATCH] LP#1938835: always display the Angular portal, not the AngularJS one This patch ensures that when a user navigates to the staff home page, they will always see the Angular version, not the AngularJS version. Consequently, the AngularJS staff portal is now deprecated (and also does not need to learn how to be dynamic.) Sponsored-by: Pioneer Library System Signed-off-by: Galen Charlton Signed-off-by: Mike Rylander --- Open-ILS/src/eg2/src/app/staff/login.component.ts | 7 ++----- Open-ILS/src/eg2/src/app/staff/nav.component.html | 2 +- Open-ILS/src/templates/staff/navbar.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/app.js | 16 ++-------------- Open-ILS/web/js/ui/default/staff/services/auth.js | 2 +- 5 files changed, 7 insertions(+), 22 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/login.component.ts b/Open-ILS/src/eg2/src/app/staff/login.component.ts index d9b9621d04..48ce941977 100644 --- a/Open-ILS/src/eg2/src/app/staff/login.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/login.component.ts @@ -95,11 +95,8 @@ export class StaffLoginComponent implements OnInit { // Force reload of the app after a successful login. // This allows the route resolver to re-run with a // valid auth token and workstation. - - // Temporarily redirect to AngularJS splash page - // (LP#1848550/LP#1835128) - window.location.href = '/eg/staff/splash'; - // this.ngLocation.prepareExternalUrl(url); + window.location.href = + this.ngLocation.prepareExternalUrl(url); }); } diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.html b/Open-ILS/src/eg2/src/app/staff/nav.component.html index 980449ede7..bcea132349 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.html +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.html @@ -3,7 +3,7 @@