LP1823367 Angular lint repairs
authorBill Erickson <berickxx@gmail.com>
Fri, 5 Apr 2019 16:00:00 +0000 (12:00 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 29 May 2019 19:30:52 +0000 (15:30 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>

Open-ILS/src/eg2/src/app/share/grid/grid-toolbar-action.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/conjoined.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts

index c84867f..2cab7f9 100644 (file)
@@ -50,7 +50,7 @@ export class GridToolbarActionComponent implements OnInit {
         }
 
         if (this.action) {
-            console.debug('toolbar [action] is deprecated.  use (onClick) instead.')
+            console.debug('toolbar [action] is deprecated. use (onClick) instead.');
         }
 
         this.toolbarAction.label = this.label;
index 560214f..b4d6274 100644 (file)
@@ -73,8 +73,9 @@ export class ConjoinedComponent implements OnInit {
         if (this.idsToUnlink.length === 0) { return; }
 
         try { // rejects on dismiss, which results in an Error
+            // TODO this will change with LP #1823041
             await this.confirmUnlink.open({size: 'sm'});
-        } catch (dismissed) {return;}
+        } catch (dismissed) { return; }
 
         const maps = [];
         this.pcrud.search('bpbcm',
@@ -90,7 +91,7 @@ export class ConjoinedComponent implements OnInit {
                         this.idsToUnlink = [];
                         this.grid.reload();
                     }
-                )
+                );
             }
         );
     }
index 15fbb07..7ffa692 100644 (file)
@@ -890,7 +890,7 @@ export class HoldingsMaintenanceComponent implements OnInit {
             this.makeBookableDialog.open({}).then(
                 modified => {}, // No refresh needed
                 dismissed => {}
-            )
+            );
         }
     }
 }
index 955e95a..106f364 100644 (file)
@@ -151,7 +151,7 @@ export class AdminPageComponent implements OnInit {
             try {
                 this.gridFilters = JSON.parse(filters);
             } catch (E) {
-                console.error('Invalid grid filters provided: ', filters)
+                console.error('Invalid grid filters provided: ', filters);
             }
         }