From: Bill Erickson Date: Mon, 24 Oct 2022 15:19:18 +0000 (-0400) Subject: LP1936233 ng lint / merge repairs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f0f31bdb9d7e7cfbcb50aad96207e3dc0ff2774c;p=working%2FEvergreen.git LP1936233 ng lint / merge repairs Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/share/grouped-menu/grouped-menu.component.ts b/Open-ILS/src/eg2/src/app/share/grouped-menu/grouped-menu.component.ts index 6961c82539..5e7db776b2 100644 --- a/Open-ILS/src/eg2/src/app/share/grouped-menu/grouped-menu.component.ts +++ b/Open-ILS/src/eg2/src/app/share/grouped-menu/grouped-menu.component.ts @@ -1,4 +1,4 @@ -import {Component, Input, Output, EventEmitter, OnInit, AfterViewInit} from '@angular/core'; +import {Component, Input, Output, EventEmitter, AfterViewInit} from '@angular/core'; import {Router} from '@angular/router'; import {Location} from '@angular/common'; @@ -19,7 +19,7 @@ export class GroupedMenuEntry { templateUrl: './grouped-menu.component.html' }) -export class GroupedMenuComponent implements OnInit, AfterViewInit { +export class GroupedMenuComponent implements AfterViewInit { static autoId = 0; @@ -38,9 +38,6 @@ export class GroupedMenuComponent implements OnInit, AfterViewInit { private ngLocation: Location ) {} - ngOnInit() { - } - ngAfterViewInit() { setTimeout(() => this.sortActions()); } diff --git a/Open-ILS/src/eg2/src/app/staff/cat/item/circ-history.component.html b/Open-ILS/src/eg2/src/app/staff/cat/item/circ-history.component.html index 80106ea1b6..b2b4733981 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/item/circ-history.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/item/circ-history.component.html @@ -53,7 +53,7 @@
Renewal?
- +
Stop Fines Reason
diff --git a/Open-ILS/src/eg2/src/app/staff/cat/item/status.component.html b/Open-ILS/src/eg2/src/app/staff/cat/item/status.component.html index c7590e807c..9e1e68ff52 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/item/status.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/item/status.component.html @@ -56,18 +56,18 @@
- - - + - + {{r.dummy_title()}} @@ -213,7 +213,7 @@ - -
+
-
+
This item has been marked as Deleted.
diff --git a/Open-ILS/src/eg2/src/app/staff/cat/item/summary.component.html b/Open-ILS/src/eg2/src/app/staff/cat/item/summary.component.html index b950eb883b..b4bab785c6 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/item/summary.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/item/summary.component.html @@ -81,18 +81,18 @@
Loan Duration
-
Short
-
Normal
-
Long
+
Short
+
Normal
+
Long
Renewal Type
-
OPAC
-
Desk
-
Phone
-
Automatic
+
OPAC
+
Desk
+
Phone
+
Automatic
@@ -109,9 +109,9 @@
{{item.create_date() | egDateTime}}
Fine Level
-
Low
-
Normal
-
High
+
Low
+
Normal
+
High
Total Circs
@@ -274,7 +274,7 @@
Item Alerts
-
diff --git a/Open-ILS/src/eg2/src/app/staff/share/course.service.ts b/Open-ILS/src/eg2/src/app/staff/share/course.service.ts index 0db6c311e0..896ec8e6d3 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/course.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/course.service.ts @@ -171,7 +171,7 @@ export class CourseService { course_library_hash[course.id()] = course.owning_lib(); }); - this.pcrud.retrieveAll('acmcm', {course: course_ids}).subscribe(material => { + this.pcrud.search('acmcm', {course: course_ids}).subscribe(material => { deleteRequest$.push(this.net.request( 'open-ils.courses', 'open-ils.courses.detach_material', this.auth.token(), material.id())); diff --git a/Open-ILS/src/eg2/src/app/staff/share/holdings/mark-items-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/holdings/mark-items-dialog.component.ts index 2536d37e4b..2e4e88b658 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holdings/mark-items-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/holdings/mark-items-dialog.component.ts @@ -1,4 +1,4 @@ -import {Component, OnInit, Input, ViewChild} from '@angular/core'; +import {Component, Input, ViewChild} from '@angular/core'; import {of, empty, from, Observable, throwError} from 'rxjs'; import {concatMap, map} from 'rxjs/operators'; import {NetService} from '@eg/core/net.service'; @@ -31,8 +31,7 @@ interface MarkItemArgs { templateUrl: 'mark-items-dialog.component.html' }) -export class MarkItemsDialogComponent - extends DialogComponent implements OnInit { +export class MarkItemsDialogComponent extends DialogComponent { @Input() markAs: 'missing' | 'discard'; @Input() copies: IdlObject[]; @@ -63,8 +62,6 @@ export class MarkItemsDialogComponent super(modal); // required for subclassing } - ngOnInit() {} - open(args?: NgbModalOptions): Observable { this.numSucceeded = 0; this.numFailed = 0; diff --git a/Open-ILS/src/eg2/src/app/staff/share/holdings/mark-missing-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/holdings/mark-missing-dialog.component.ts index 62d50aaafd..9c6e40619a 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holdings/mark-missing-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/holdings/mark-missing-dialog.component.ts @@ -39,8 +39,6 @@ export class MarkMissingDialogComponent private modal: NgbModal ) { super(modal); } - ngOnInit() {} - open(args?: NgbModalOptions): Observable { let obs: Observable;