From: Jane Sandberg Date: Tue, 26 Mar 2019 20:18:17 +0000 (-0700) Subject: lint X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5f05bf19adc6528b102e8b4d6e84fdf66a69fe24;p=working%2FEvergreen.git lint --- diff --git a/Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.ts b/Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.ts index 3bbaab9eb7..c42558f677 100644 --- a/Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.ts @@ -49,14 +49,14 @@ export class CreateReservationComponent implements OnInit { this.dateLimiter.initialDate = new Date(); this.fetchData = (limiter: 'resource' | 'type', id: number) => { - this.resources = []; + this.resources = []; let where = {}; if ('type' === limiter) { where = {type: id}; } else if ('resource' === limiter) { where = {id: id}; } - this.pcrud.search('brsrc', where, { + this.pcrud.search('brsrc', where, { order_by: 'barcode ASC', flesh: 1, flesh_fields: {'brsrc': ['curr_rsrcs']}, @@ -76,7 +76,7 @@ export class CreateReservationComponent implements OnInit { } current_time.minute = (current_time.minute + this.granularity) % 60; } - } + }; this.isBooked = (row: any, col: any) => { if ((col.name !== 'time') && (row[col.name])) {