diff --git a/ui (gen4)/features/location.js b/ui (gen4)/features/location.js index d92561ca..c7cc3394 100755 --- a/ui (gen4)/features/location.js +++ b/ui (gen4)/features/location.js @@ -463,7 +463,7 @@ module.Location = core.ImageGridFeatures.Feature({ var data = {} ;(this.config['location-stored-attrs'] || []) .forEach(function(attr){ - attr in res.raw.location + attr in (res.raw.location || {}) && (data[attr] = res.raw.location[attr]) }) Object.keys(data).length > 0 && (res.index.config = diff --git a/ui (gen4)/package-lock.json b/ui (gen4)/package-lock.json index 7c5f6542..39bed3ff 100755 --- a/ui (gen4)/package-lock.json +++ b/ui (gen4)/package-lock.json @@ -966,9 +966,9 @@ } }, "ig-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ig-object/-/ig-object-5.0.0.tgz", - "integrity": "sha512-WTKB2yS7jIwfZK1KQm3684XnSvf1Z8pzk555DjU+FaAxEvZxa3TvVUNy3jxTB9q3S+n6HbuRuxk3Xyi9nZnqAw==" + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/ig-object/-/ig-object-5.0.2.tgz", + "integrity": "sha512-fRfaR11KrUMd2/2glHOmqwHwbkx9K0zwyV7H8MYn5LvWtmCfHaBA7bzWiguuG0UCQEps15/a4jbZVIopknOq0g==" }, "image-size": { "version": "0.5.5", diff --git a/ui (gen4)/package.json b/ui (gen4)/package.json index 086c89f4..ceff9306 100755 --- a/ui (gen4)/package.json +++ b/ui (gen4)/package.json @@ -29,7 +29,7 @@ "guarantee-events": "^1.0.0", "ig-actions": "^3.24.11", "ig-features": "^3.4.2", - "ig-object": "^5.0.0", + "ig-object": "^5.0.2", "moment": "^2.26.0", "requirejs": "^2.3.6", "requirejs-plugins": "^1.0.2",