From: Bill Erickson Date: Mon, 26 Apr 2021 19:42:33 +0000 (-0400) Subject: LP1904036 lint X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=67bad9034590256e670aac49a5d673df0212942f;p=evergreen%2Fpines.git LP1904036 lint Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/offline.service.ts b/Open-ILS/src/eg2/src/app/staff/share/offline.service.ts index bc2a1d3b21..f9fefe4513 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/offline.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/offline.service.ts @@ -95,8 +95,8 @@ export class OfflineService { return Promise.resolve(); } - var rows = statcats.map(cat => { - return {id: cat.id(), value: this.idl.toHash(cat)}}); + const rows = statcats.map( + cat => ({id: cat.id(), value: this.idl.toHash(cat)})); return this.db.request({ schema: 'cache',