LP1952931 ASN eg2 lint repairs user/berick/lp1952931-acq-asn-v5
authorBill Erickson <berickxx@gmail.com>
Wed, 21 Sep 2022 15:40:29 +0000 (11:40 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 21 Sep 2022 15:40:29 +0000 (11:40 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/acq/asn/asn.component.ts
Open-ILS/src/eg2/src/app/staff/acq/asn/receive.component.html

index aa8babe..28314ad 100644 (file)
@@ -5,13 +5,10 @@ import {IdlObject} from '@eg/core/idl.service';
 @Component({
   templateUrl: 'asn.component.html'
 })
-export class AsnComponent implements OnInit {
+export class AsnComponent {
 
     constructor(
         private route: ActivatedRoute,
     ) {}
-
-    ngOnInit() {
-    }
 }
 
index cfab24e..7df43c3 100644 (file)
@@ -153,7 +153,7 @@ across different vendors to match a container code.
             <div class="flex-1">{{liWantedCount(li.id)}}</div>
             <div class="flex-1" 
               [ngClass]="{
-                'text-success': liWantedCount(li.id) == li.lids.length,
+                'text-success': liWantedCount(li.id) === li.lids.length,
                 'text-danger': liWantedCount(li.id) > li.lids.length
               }">
               {{li.lids.length}}</div>