From: Jane Sandberg Date: Tue, 26 Mar 2019 22:28:58 +0000 (-0700) Subject: linting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6f8e95837f013f8488acb2463ebec18b1e836d0b;p=working%2FEvergreen.git linting --- diff --git a/Open-ILS/src/eg2/src/app/staff/booking/reservations-grid.component.ts b/Open-ILS/src/eg2/src/app/staff/booking/reservations-grid.component.ts index b6b11f7e88..ae2db485bb 100644 --- a/Open-ILS/src/eg2/src/app/staff/booking/reservations-grid.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/booking/reservations-grid.component.ts @@ -151,7 +151,7 @@ export class ReservationsGridComponent implements OnInit { this.notOnePatronSelected = (rows: IdlObject[]) => (new Set(rows.map(row => row.usr().id())).size !== 1); this.notOneResourceSelected = (rows: IdlObject[]) => (new Set(rows.map(row => row.current_resource().id())).size !== 1); this.cancelNotAppropriate = (rows: IdlObject[]) => (this.noSelectedRows(rows) || ('pickedUp' === this.status)); - this.returnNotAppropriate = (rows: IdlObject[]) => { + this.returnNotAppropriate = (rows: IdlObject[]) => { if (this.noSelectedRows(rows)) { return true; } else { @@ -160,7 +160,7 @@ export class ReservationsGridComponent implements OnInit { }); } return false; - } + }; this.reloadGrid = () => { this.grid.reload(); }; diff --git a/Open-ILS/src/eg2/src/app/staff/share/patron.service.ts b/Open-ILS/src/eg2/src/app/staff/share/patron.service.ts index 4d29cc6161..2afc42d9af 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/patron.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/patron.service.ts @@ -17,7 +17,7 @@ export class PatronService { 'open-ils.actor', 'open-ils.actor.get_barcodes', this.auth.token(), this.auth.user().ws_ou(), - 'actor', barcode).pipe(single()); + 'actor', barcode).pipe(single()); } }