LP1966342 follow-up: prefer === over ==
authorJane Sandberg <js7389@princeton.edu>
Fri, 28 Oct 2022 02:39:19 +0000 (19:39 -0700)
committerJane Sandberg <js7389@princeton.edu>
Fri, 28 Oct 2022 02:39:19 +0000 (19:39 -0700)
Signed-off-by: Jane Sandberg <js7389@princeton.edu>

Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html

index 3e386b7..fa33c54 100644 (file)
         <div class="row" [ngClass]="{'pt-2':copyIndex > 0}"
           *ngFor="let copyCount of getHoldingsSummaries(); let copyIdx = index"
                  [ngClass]="{
-            'text-dark bg-warning' : copyCount.count == 0 && (copyCount.transcendant == 0 || !copyCount.transcendant),
-                       'bg-info' : copyCount.count == 0
+            'text-dark bg-warning' : copyCount.count === 0 && (copyCount.transcendant === 0 || !copyCount.transcendant),
+                       'bg-info' : copyCount.count === 0
             }">
           <div class="float-left text-left w-50">
             <span class="pr-1">