From 572b452139eab69499b602dfb92683ee548104d3 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 29 Mar 2021 11:48:32 -0400 Subject: [PATCH] EDI attr sets: fix lint Signed-off-by: Galen Charlton --- .../admin/acq/edi_attr_set/edi-attr-set-edit-dialog.component.ts | 4 ++-- .../src/app/staff/admin/acq/edi_attr_set/edi-attr-sets.component.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-set-edit-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-set-edit-dialog.component.ts index 656a0b5612..203f72600e 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-set-edit-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-set-edit-dialog.component.ts @@ -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) ); diff --git a/Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-sets.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-sets.component.ts index 2ee9a147b1..2075a2a0d8 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-sets.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/acq/edi_attr_set/edi-attr-sets.component.ts @@ -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 { -- 2.11.0