diff --git a/package.json b/package.json index ea78b441..432989ee 100644 --- a/package.json +++ b/package.json @@ -22,16 +22,16 @@ }, "scripts": { "build": "npm run clean && npm run build:dev && npm run build:prod", - "build:dev": "./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout", + "build:dev": "NODE_ENV=development ./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout", "build:dev:watch": "npm run clean && ./node_modules/.bin/webpack --env=development --progress --profile --colors --watch --display-optimization-bailout", - "build:prod": "./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout", + "build:prod": "NODE_ENV=production ./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout", "clean": "rimraf dist", "jest": "jest --no-cache --maxWorkers=4 --config config/jest/default.js", "lint": "npm run lint:js", "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "0.9.1", + "version": "0.10.0", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", diff --git a/src/utils/submission.js b/src/utils/submission.js index 970fea14..b0b0f7e4 100644 --- a/src/utils/submission.js +++ b/src/utils/submission.js @@ -134,8 +134,7 @@ export function processMMSubmissions(submissions, resources, registrants) { if (!data[memberHandle]) { data[memberHandle] = []; } - const validReviews = _.filter(submission.review, - r => !_.isEmpty(r) && (r.typeId !== AV_SCAN_SCORER_REVIEW_TYPE_ID)); + const validReviews = _.reject(submission.review, ['typeId', AV_SCAN_SCORER_REVIEW_TYPE_ID]); validReviews.sort((a, b) => { const dateA = new Date(a.created); const dateB = new Date(b.created); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy