From 67bad9034590256e670aac49a5d673df0212942f Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 26 Apr 2021 15:42:33 -0400 Subject: [PATCH] LP1904036 lint Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/share/offline.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', -- 2.11.0