LP#1844169: fix lint
authorGalen Charlton <gmc@equinoxOLI.org>
Mon, 12 Jul 2021 15:07:24 +0000 (11:07 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 12 Jul 2021 15:08:55 +0000 (11:08 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts
Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts

index bfacd2c..a859ca0 100644 (file)
@@ -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)
index 534ef7a..2aefb4a 100644 (file)
@@ -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();