LP1904036 Sanity check empty cards
authorBill Erickson <berickxx@gmail.com>
Thu, 13 May 2021 18:26:30 +0000 (14:26 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:34 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.html

index 579e2f7..108d2fa 100644 (file)
@@ -25,7 +25,9 @@
   </div>
   <div>
     <span class="mr-2" i18n>Patron Barcode:</span>
-    <span>{{checkin.patron.card().barcode()}}</span>
+    <ng-container *ngIf="checkin.patron.card()">
+      <span>{{checkin.patron.card().barcode()}}</span>
+    </ng-container>
   </div>
 </ng-template>