fix some lint
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 31 Oct 2019 19:59:17 +0000 (15:59 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 16 Jan 2020 21:38:28 +0000 (16:38 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.component.ts
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.module.ts

index dfc1270..985cb0e 100644 (file)
@@ -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)) {
index 418402c..0a08454 100644 (file)
@@ -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({