From: Bill Erickson Date: Wed, 23 Jan 2019 21:13:52 +0000 (-0500) Subject: LP1807458 Eg2 grid Edit option lint repairs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=84d627cc3a74c1f2a6f37ce985ae5f62693f7b98;p=evergreen%2Fjoelewis.git LP1807458 Eg2 grid Edit option lint repairs Signed-off-by: Bill Erickson Signed-off-by: Dan Wells --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts index 001836daa2..cfb01e5fa3 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts @@ -163,13 +163,14 @@ export class AdminPageComponent implements OnInit { // Edit each IDL thing one at a time const editOneThing = (thing: IdlObject) => { - if (!thing) return; + if (!thing) { return; } this.showEditDialog(thing).then( () => editOneThing(idlThings.shift())); - } + }; - editOneThing(idlThings.shift()); }; + editOneThing(idlThings.shift()); + }; this.createNew = () => { this.editDialog.mode = 'create';