From 3385793556d7f156999b2f7b7edf120d0780a4df Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 29 Sep 2022 07:41:17 -0700 Subject: [PATCH] LP1904036 ng lint continued Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../src/eg2/src/app/staff/circ/patron/alerts.component.ts | 5 +---- .../src/eg2/src/app/staff/circ/patron/barcodes.component.ts | 6 +----- .../src/app/staff/circ/patron/bill-statement.component.html | 2 +- .../eg2/src/app/staff/circ/patron/checkout.component.html | 10 +++++----- .../src/app/staff/circ/patron/edit-toolbar.component.html | 6 +++--- .../src/eg2/src/app/staff/circ/patron/edit.component.html | 12 ++++++------ Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts | 7 ++----- .../src/eg2/src/app/staff/circ/patron/holds.component.ts | 5 +---- .../src/eg2/src/app/staff/circ/patron/items.component.ts | 7 ++----- .../src/eg2/src/app/staff/circ/patron/patron.component.ts | 7 ++----- .../src/eg2/src/app/staff/circ/patron/surveys.component.ts | 7 ++----- .../src/app/staff/share/barcodes/barcode-select.component.ts | 7 ++----- .../staff/share/billing/credit-card-dialog.component.html | 6 +++--- .../src/app/staff/share/circ/open-circ-dialog.component.ts | 5 +---- .../staff/share/holdings/copy-alert-manager.component.html | 2 +- .../app/staff/share/holdings/copy-alert-manager.component.ts | 5 +---- .../src/eg2/src/app/staff/share/patron/search.component.html | 2 +- 17 files changed, 35 insertions(+), 66 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/alerts.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/alerts.component.ts index ec52008603..10f6389e99 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/alerts.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/alerts.component.ts @@ -10,7 +10,7 @@ import {PatronContextService} from './patron.service'; templateUrl: 'alerts.component.html', selector: 'eg-patron-alerts' }) -export class PatronAlertsComponent implements OnInit { +export class PatronAlertsComponent { constructor( private org: OrgService, @@ -19,9 +19,6 @@ export class PatronAlertsComponent implements OnInit { public context: PatronContextService ) {} - ngOnInit() { - } - alerts(): PatronAlerts { return this.context.summary ? this.context.summary.alerts : null; } diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/barcodes.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/barcodes.component.ts index d7067e35c4..94d2ea3f08 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/barcodes.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/barcodes.component.ts @@ -23,8 +23,7 @@ const PERMS = ['UPDATE_PATRON_ACTIVE_CARD', 'UPDATE_PATRON_PRIMARY_CARD']; templateUrl: 'barcodes.component.html' }) -export class PatronBarcodesDialogComponent - extends DialogComponent implements OnInit { +export class PatronBarcodesDialogComponent extends DialogComponent { @Input() patron: IdlObject; primaryCard: number; @@ -43,9 +42,6 @@ export class PatronBarcodesDialogComponent private context: PatronContextService ) { super(modal); } - ngOnInit() { - } - open(ops: NgbModalOptions): Observable { this.patron.cards().some(card => { if (card.id() === this.patron.card().id()) { diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/bill-statement.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/bill-statement.component.html index cc06c8ff48..46158a7d40 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/bill-statement.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/bill-statement.component.html @@ -63,7 +63,7 @@
Renewal?
- +
diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.html index f6ed4774f5..170562a281 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.html @@ -35,7 +35,7 @@
@@ -54,12 +54,12 @@
+ [readOnly]="dueDateOptions === 0" (onChangeAsIso)="setDueDate($event)"> diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit-toolbar.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit-toolbar.component.html index b72e5f8d48..a801fa95b2 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit-toolbar.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit-toolbar.component.html @@ -3,13 +3,13 @@
Show:
diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html index 82dff2df80..95f92461ba 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html @@ -599,7 +599,7 @@
- Allow others to use my account + Allow others to use my account
delete
-
+