From: Bill Erickson Date: Mon, 13 Jul 2020 15:11:04 +0000 (-0700) Subject: LPXXX Angular Volcopy X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b7e4a45c8e9d687a71e78f44c69046a0f6f0a181;p=working%2FEvergreen.git LPXXX Angular Volcopy Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts index 32236f3a66..9cfb6dfa25 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts @@ -139,6 +139,8 @@ export class VolCopyService { .then(_ => this.serverStore.getItem('cat.copy.templates')) .then(templates => { + if (!templates) { return null; } + this.templates = templates; this.templateNames = Object.keys(templates)