LP1904036 lint
authorBill Erickson <berickxx@gmail.com>
Mon, 26 Apr 2021 19:42:33 +0000 (15:42 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:33 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/share/offline.service.ts

index bc2a1d3..f9fefe4 100644 (file)
@@ -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',