lint
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 26 Mar 2019 20:18:17 +0000 (13:18 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 26 Mar 2019 20:18:17 +0000 (13:18 -0700)
Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.ts

index 3bbaab9..c42558f 100644 (file)
@@ -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])) {