LP1816475: lint
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 31 Mar 2019 22:32:34 +0000 (15:32 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Wed, 17 Apr 2019 20:32:12 +0000 (13:32 -0700)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts
Open-ILS/src/eg2/src/app/staff/booking/reservations-grid.component.ts

index 1b13d8c..d955424 100644 (file)
@@ -62,7 +62,7 @@ export interface FmFieldOptions {
     // If this function is defined, the function will be called
     // when fields change their values, to check if users are entering
     // valid values, and delivering an error message if not.
-    // 
+    //
     // Currently only implemented for the datetime-select widget
     validator?: (field: string, value: any, record: IdlObject) => string;
 
@@ -334,11 +334,11 @@ export class FmRecordEditorComponent
         if (fieldOptions.validator) {
             field.validator = fieldOptions.validator;
         } else {
-            field.validator = (fieldName: string, value: any, record: IdlObject) => { return ''; }
+            field.validator = (fieldName: string, value: any, record: IdlObject) => '';
         }
 
         field.validate = (fieldName: string, value: any, record: IdlObject) => {
-            field.validatorError = field.validator(fieldName, value, record); }
+            field.validatorError = field.validator(fieldName, value, record); };
 
 
         if (fieldOptions.isRequiredOverride) {
index f040f6d..8590cc0 100644 (file)
@@ -130,7 +130,7 @@ export class ReservationsGridComponent implements OnInit {
                     'usr', 'capture_staff', 'target_resource', 'target_resource_type', 'current_resource', 'request_lib', 'pickup_lib'
                 ], 'au': ['card'] }
             }).pipe(tap((row) => {
-                this.org.settings('lib.timezone', row['pickup_lib']()).then((tz) => {row['timezone'] = tz['lib.timezone'];});
+                this.org.settings('lib.timezone', row['pickup_lib']()).then((tz) => { row['timezone'] = tz['lib.timezone']; });
             }));
         };