saasufy-components 8.2.4 → 8.2.6

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saasufy-components",
3
- "version": "8.2.4",
3
+ "version": "8.2.6",
4
4
  "description": "Components for Saasufy.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "ag-collection": "^5.4.0",
21
21
  "ag-model": "^3.2.0",
22
- "capitalisk-auth-client": "^1.5.1",
22
+ "capitalisk-auth-client": "^1.5.2",
23
23
  "socketcluster-client": "^19.2.3",
24
24
  "uuid": "^8.3.2"
25
25
  },
package/utils.js CHANGED
@@ -475,7 +475,7 @@ export function convertStringToFieldTypeValues(string, allowEmpty, unescapeEqual
475
475
  let nameType = (subParts[0] || '').split(':');
476
476
  let field = nameType[0];
477
477
  let type = nameType[1] || 'text';
478
- let value = subParts.slice(1).join('=').replace(quotedContentRegExp, '$1');
478
+ let value = subParts.length > 1 ? subParts.slice(1).join('=').replace(quotedContentRegExp, '$1') : undefined;
479
479
  return {
480
480
  field,
481
481
  type,