From: Galen Charlton Date: Mon, 29 Mar 2021 15:48:32 +0000 (-0400) Subject: EDI attr sets: fix lint X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=572b452139eab69499b602dfb92683ee548104d3;p=working%2FEvergreen.git EDI attr sets: fix lint Signed-off-by: Galen Charlton --- 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 {