From 462b0acbcbf91cd344f184be76599967b6eee792 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 12 Jul 2021 11:07:24 -0400 Subject: [PATCH] LP#1844169: fix lint Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts | 2 +- .../src/app/staff/admin/local/search-filter/query-dialog.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts index bfacd2c9a4..a859ca01d3 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts @@ -38,7 +38,7 @@ const routes: Routes = [{ }, { path: 'asset/course_module_term_course_map', component: CourseTermMapComponent -}, { +}, { path: 'actor/search_filter_group', loadChildren: () => import('./search-filter/search-filter-group.module').then(m => m.SearchFilterGroupModule) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts index 534ef7af62..2aefb4af52 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts @@ -52,7 +52,7 @@ export class QueryDialogComponent extends DialogComponent implements OnInit { } save() { - if (!this.newQueryLabel || (!this.newQueryPosition && (this.newQueryPosition != '0')) || !this.newQueryText) { + if (!this.newQueryLabel || (!this.newQueryPosition && (this.newQueryPosition !== '0')) || !this.newQueryText) { this.closeAndReset({notFilledOut: true}); } const recToSave = this.prepareRecord(); -- 2.11.0