LP1904036 Sanity check empty cards
authorBill Erickson <berickxx@gmail.com>
Thu, 13 May 2021 18:26:30 +0000 (14:26 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 6 Oct 2022 16:59:44 +0000 (12:59 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
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>