From: Galen Charlton Date: Mon, 2 Aug 2021 22:34:02 +0000 (-0400) Subject: LP#1938835: always display the Angular portal, not the AngularJS one X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c6468303741e59a58b86f8584a7c68ffb29962e4;p=working%2FEvergreen.git 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 --- 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 6040ccf465..76f4e71067 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 @@