@visns-studio/visns-components 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -269,7 +269,8 @@ function Form(props) {
269
269
 
270
270
  const autocompleteSelect = (place, id) => {
271
271
  const { address, text, context } = place;
272
- const address1 = address !== undefined ? address + " " + text : text;
272
+ const address1 =
273
+ address !== undefined && address ? address + " " + text : text;
273
274
  let address2 = "";
274
275
  let suburb = "";
275
276
  let postcode = "";
package/package.json CHANGED
@@ -35,7 +35,7 @@
35
35
  "react-dom": "^17.0.1"
36
36
  },
37
37
  "name": "@visns-studio/visns-components",
38
- "version": "1.5.1",
38
+ "version": "1.5.2",
39
39
  "description": "Various packages to assist in the development of our Custom Applications.",
40
40
  "main": "index.js",
41
41
  "devDependencies": {},