From 12370f30921c4878863cc43883f79c22f75cdffe Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 22 Jun 2021 15:39:57 -0400 Subject: [PATCH] LP1929741 ng lint Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton Signed-off-by: Jane Sandberg --- Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts index 8d28763b29..ae8759db24 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.ts @@ -236,7 +236,7 @@ export class PoSummaryComponent implements OnInit { if (this.po().state() === 'received') { return; } - var invTypes = []; + const invTypes = []; // get the unique set of invoice item type IDs this.po().po_items().forEach(item => { @@ -245,7 +245,7 @@ export class PoSummaryComponent implements OnInit { } }); - if (invTypes.length == 0) { return; } + if (invTypes.length === 0) { return; } this.pcrud.search('aiit', {code: invTypes, blanket: 't'}, {limit: 1}) -- 2.11.0