Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
import {PatronSearchDialogComponent
} from '@eg/staff/share/patron/search-dialog.component';
import {AlertDialogComponent} from '@eg/share/dialog/alert.component';
- } from '@eg/staff/share/patron/search-dialog.component';
import {BarcodeSelectComponent
} from '@eg/staff/share/barcodes/barcode-select.component';
import {WorkLogService} from '@eg/staff/share/worklog/worklog.service';
// patron.card() is not the same in-memory object as its
// analog in patron.cards(). Since we're about to replace
// patron.card() anyway, just update the patron.cards() version.
- const card = this.patron.cards()
+ const crd = this.patron.cards()
.filter(c => c.id() === this.patron.card().id())[0];
- card.active('f');
- card.ischanged(true);
+ crd.active('f');
+ crd.ischanged(true);
}
const card = this.idl.create('ac');