Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
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
}
doneRedirect() {
+ // Clear the assumed hold recipient since we're done with
+ // this patron.
+ this.store.removeLoginSessionItem('eg.circ.patron_hold_target');
this.router.navigate(['/staff/circ/patron/bcsearch']);
}
-
}