From d58e26fe9262bdc3853030fd5575582bd2a24e04 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 5 Apr 2019 12:00:00 -0400 Subject: [PATCH] LP1823367 Angular lint repairs Signed-off-by: Bill Erickson Signed-off-by: Dan Wells --- Open-ILS/src/eg2/src/app/share/grid/grid-toolbar-action.component.ts | 2 +- Open-ILS/src/eg2/src/app/staff/catalog/record/conjoined.component.ts | 5 +++-- Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts | 2 +- .../src/eg2/src/app/staff/share/admin-page/admin-page.component.ts | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar-action.component.ts b/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar-action.component.ts index c84867fcf5..2cab7f9a20 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar-action.component.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar-action.component.ts @@ -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; diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/conjoined.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/conjoined.component.ts index 560214f99b..b4d6274973 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/conjoined.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/conjoined.component.ts @@ -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(); } - ) + ); } ); } diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts index 15fbb071a6..7ffa692be2 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts @@ -890,7 +890,7 @@ export class HoldingsMaintenanceComponent implements OnInit { this.makeBookableDialog.open({}).then( modified => {}, // No refresh needed dismissed => {} - ) + ); } } } diff --git a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts index 955e95aa5f..106f3640b2 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts @@ -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); } } -- 2.11.0