From 00a47bd49448e54baaee2eba96140cb2e8c51011 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 2 Aug 2021 18:34:02 -0400 Subject: [PATCH] staff portal: default to Angular portal TODO: avoid flashing AngularJS portal when logging in from the AngularJS page Signed-off-by: Galen Charlton --- 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 207c525bdf..d1acd5d7e0 100644 --- a/Open-ILS/src/eg2/src/app/staff/login.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/login.component.ts @@ -94,11 +94,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 bd57834dbd..ccf652daa0 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 @@