From: Galen Charlton Date: Mon, 12 Jul 2021 15:07:24 +0000 (-0400) Subject: LP#1844169: fix lint X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=462b0acbcbf91cd344f184be76599967b6eee792;p=evergreen%2Ftadl.git LP#1844169: fix lint Signed-off-by: Galen Charlton --- 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();