From: Bill Erickson Date: Tue, 14 Jun 2022 14:24:50 +0000 (-0400) Subject: LP1904036 3.9 merge repairs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=da0f8883f4a4701088960a5056a7d05a8b8bd075;p=evergreen%2Fpines.git LP1904036 3.9 merge repairs Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/catalog.module.ts b/Open-ILS/src/eg2/src/app/staff/catalog/catalog.module.ts index 77d19ca41c..493dde5deb 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/catalog.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/catalog.module.ts @@ -76,7 +76,7 @@ import {WorkLogModule} from '@eg/staff/share/worklog/worklog.module'; BookingModule, PatronModule, MarcEditModule, - HttpClientModule + HttpClientModule, BarcodesModule, WorkLogModule ], 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 6c7b64d94f..956b18c13c 100644 --- a/Open-ILS/src/eg2/src/app/staff/login.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/login.component.ts @@ -6,9 +6,6 @@ import {StoreService} from '@eg/core/store.service'; import {OrgService} from '@eg/core/org.service'; import {OfflineService} from '@eg/staff/share/offline.service'; -// Direct users to the AngJS splash page when no routeTo is provided. -const SPLASH_PAGE_PATH = '/eg/staff/splash'; - @Component({ templateUrl : './login.component.html' }) @@ -78,10 +75,10 @@ export class StaffLoginComponent implements OnInit { handleSubmit() { // post-login URL - let url: string = this.routeTo || SPLASH_PAGE_PATH; + let url: string = this.routeTo || '/staff/splash'; // prevent sending the user back to the login page - if (url.match('/staff/login')) { url = SPLASH_PAGE_PATH; } + if (url.match('/staff/login')) { url = '/staff/splash'; } const workstation: string = this.args.workstation;