Loads missing tab contents in booking return by patron screens.
Co-authored-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
select: {'curr_rsrcs': {'return_time': null, 'pickup_time': {'!=': null}}}
}).pipe(tap((resp) => {
if (resp.curr_rsrcs()[0].usr()) {
+ this.tabs.select('resource');
this.patronId = resp.curr_rsrcs()[0].usr();
this.refreshGrids();
}
flesh_fields: {'au': ['card']}
}).pipe(tap(
(resp) => {
+ this.tabs.select('patron_tab');
this.findPatron.patchValue({patronBarcode: resp.card().barcode()});
this.refreshGrids();
}, (err) => { console.debug(err); }