From: Bill Erickson Date: Fri, 24 Sep 2021 14:11:23 +0000 (-0400) Subject: LP1904036 Rebase and lint repairs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=226a012ac6b396232313003a27df6269906c974a;p=Evergreen.git LP1904036 Rebase and lint repairs Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts index 3bd0fad96c..9c72ae616a 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts @@ -19,7 +19,6 @@ import {PatronService} from '@eg/staff/share/patron/patron.service'; 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'; diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts index 4deeb44990..b7bcecd7e5 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts @@ -1588,11 +1588,11 @@ export class EditComponent implements OnInit, AfterViewInit { // 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');