LP1904036 Patron 'Done' button clears hold recipient
[evergreen-equinox.git] / Open-ILS / src / eg2 / src / app / staff / catalog / catalog.service.ts
index 51a92ed..24d32df 100644 (file)
@@ -89,6 +89,9 @@ export class StaffCatalogService {
                 this.holdForUser = user;
                 this.holdForChange.emit();
             });
+        } else {
+            // In case the session item was cleared from another component.
+            this.clearHoldPatron();
         }
 
         this.searchContext.org = this.org; // service, not searchOrg