Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 3 changed files Side-by-side Diff

api-server/router-locations.js
... ... @@ -33,7 +33,7 @@ function pageAdd(req, res) {
33 33 }
34 34  
35 35 if (typeof locations === 'string') {
36   - locations = locations.trim().split(/[\s,]+/).map((el) => { return el && el.toUpperCase() !== 'ALL'; });
  36 + locations = locations.trim().split(/[\s,]+/).filter((el) => { return el.toUpperCase() !== 'ALL'; });
37 37 }
38 38  
39 39 const locationsCount = locations.length;
1 1 {
2 2 "name": "komodo-sdk",
3   - "version": "1.36.13",
  3 + "version": "1.36.14",
4 4 "lockfileVersion": 1,
5 5 "requires": true,
6 6 "dependencies": {
1 1 {
2 2 "name": "komodo-sdk",
3   - "version": "1.36.13",
  3 + "version": "1.36.14",
4 4 "description": "SDK for Komodo",
5 5 "main": "index.js",
6 6 "scripts": {