From 5f4fc0185329e5e4028a382a11457545b0ba75d2 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 9 Feb 2022 15:18:21 -0500 Subject: [PATCH] LP#1929749: fix lint Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.component.ts | 4 ++-- Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.service.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.component.ts index 5421e99c07..d5785e0f18 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.component.ts @@ -215,7 +215,7 @@ export class UploadComponent implements OnInit, AfterViewInit, OnDestroy { this.vlagent.getFiscalYears(this.auth.user().ws_ou()).then( years => { this.vlagent.getDefaultFiscalYear(this.auth.user().ws_ou()).then( y => { this.selectedFiscalYear = y.id(); this.fiscalYearSelector.applyEntryId(this.selectedFiscalYear); } - ) + ); }), this.vlagent.getSelectionLists(), this.vlagent.getItemImportDefs(), @@ -233,7 +233,7 @@ export class UploadComponent implements OnInit, AfterViewInit, OnDestroy { this.vlagent.getFiscalYears(this.orderingAgency).then( years => { this.vlagent.getDefaultFiscalYear(this.orderingAgency).then( y => { this.selectedFiscalYear = y.id(); this.fiscalYearSelector.applyEntryId(this.selectedFiscalYear); } - ) + ); }); } diff --git a/Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.service.ts b/Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.service.ts index 9352422fa1..2a61d5d845 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/picklist/upload.service.ts @@ -141,7 +141,7 @@ export class PicklistUploadService { {order_by: {acqfy: 'year'}}, {atomic: true} ).toPromise().then(years => { - this.fiscalYears = years.filter( y => y.calendar() == this.org.get(org).fiscal_calendar()) + this.fiscalYears = years.filter( y => y.calendar() === this.org.get(org).fiscal_calendar()); return this.fiscalYears; }); } -- 2.11.0