LPXXX Angular Volcopy
authorBill Erickson <berickxx@gmail.com>
Mon, 13 Jul 2020 15:11:04 +0000 (08:11 -0700)
committerBill Erickson <berickxx@gmail.com>
Mon, 13 Jul 2020 15:12:52 +0000 (08:12 -0700)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts

index 32236f3..9cfb6df 100644 (file)
@@ -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)