From 496721f19d204666409119eae0dd0f0a7494e24d Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 9 Aug 2018 14:22:11 -0400 Subject: [PATCH] LP#1775466 WS admin page workstations sanity check Signed-off-by: Bill Erickson --- .../app/staff/admin/workstation/workstations/workstations.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/workstations.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/workstations.component.ts index 9fb0d7e37b..f4f3b83b88 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/workstations.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/workstations.component.ts @@ -50,7 +50,7 @@ export class WorkstationsComponent implements OnInit { ) {} ngOnInit() { - this.workstations = this.store.getLocalItem('eg.workstation.all'); + this.workstations = this.store.getLocalItem('eg.workstation.all') || []; this.defaultName = this.store.getLocalItem('eg.workstation.default'); this.selectedName = this.auth.workstation() || this.defaultName; const rm = this.route.snapshot.paramMap.get('remove'); -- 2.11.0