linting
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 26 Mar 2019 22:28:58 +0000 (15:28 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 26 Mar 2019 22:28:58 +0000 (15:28 -0700)
Open-ILS/src/eg2/src/app/staff/booking/reservations-grid.component.ts
Open-ILS/src/eg2/src/app/staff/share/patron.service.ts

index b6b11f7..ae2db48 100644 (file)
@@ -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(); };
 
index 4d29cc6..2afc42d 100644 (file)
@@ -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());
     }
 
 }