EDI attr sets: fix lint
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 29 Mar 2021 15:48:32 +0000 (11:48 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 29 Mar 2021 15:48:32 +0000 (11:48 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-set-edit-dialog.component.ts
Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-sets.component.ts

index 656a0b5..203f726 100644 (file)
@@ -20,7 +20,7 @@ import {PermService} from '@eg/core/perm.service';
 export class EdiAttrSetEditDialogComponent
   extends DialogComponent implements OnInit {
 
-    @Input() mode: string = 'create';
+    @Input() mode = 'create';
     @Input() attrSetId: number;
     @Input() cloneSource: number;
     attrSet: IdlObject;
@@ -141,7 +141,7 @@ export class EdiAttrSetEditDialogComponent
                 });
             }
             this.pcrud.autoApply(updates).subscribe(
-                res => this.close(true),
+                ret => this.close(true),
                 err => this.close(err),
                 () => this.close(true)
             );
index 2ee9a14..2075a2a 100644 (file)
@@ -113,9 +113,9 @@ export class EdiAttrSetsComponent extends AdminPageComponent implements OnInit {
         this.classLabel = this.idlClassDef.label;
         this.includeOrgDescendants = true;
         // TODO - this works, but doesn't clear the base component's subscription
-        //this.grid.onRowActivate.subscribe(
-        //    (idlThing: IdlObject) => this.editSelected([idlThing])
-        //);
+        // this.grid.onRowActivate.subscribe(
+        //     (idlThing: IdlObject) => this.editSelected([idlThing])
+        // );
     }
 
     countProviders(row: IdlObject): Observable<IdlObject> {