From 2cdfdc5c98b9da98bb773041f621788a9cc39aba Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 31 Oct 2019 15:59:17 -0400 Subject: [PATCH] fix some lint Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.component.ts | 2 +- Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.module.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.component.ts index dfc12708cb..985cb0e177 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.component.ts @@ -22,7 +22,7 @@ export class AcqSearchComponent implements OnInit, AfterViewInit { ) {} ngOnInit() { - let searchTypeParam = this.route.snapshot.paramMap.get('searchtype'); + const searchTypeParam = this.route.snapshot.paramMap.get('searchtype'); if (searchTypeParam) { if (this.validSearchTypes.includes(searchTypeParam)) { diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.module.ts b/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.module.ts index 418402c787..0a08454a83 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.module.ts @@ -1,6 +1,6 @@ import {NgModule} from '@angular/core'; import {StaffCommonModule} from '@eg/staff/common.module'; -import {AcqSearchRoutingModule} from './routing.module' +import {AcqSearchRoutingModule} from './routing.module'; import {AcqSearchComponent} from './acq-search.component'; @NgModule({ -- 2.11.0