primary_care_admin_binder 0.1.19 → 0.1.20

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.
package/dist/index.cjs.js CHANGED
@@ -19621,12 +19621,14 @@ var loopMasters$5 = function loopMasters() {
19621
19621
  value: value._id
19622
19622
  });
19623
19623
  } else if ("attrcode" === val.name) {
19624
+ var _value$AttribValidVal;
19625
+
19624
19626
  arr.push({
19625
19627
  label: value.attribcode,
19626
19628
  value: value._id,
19627
19629
  name: value.attriblabel,
19628
19630
  type: value.attribtype,
19629
- AttribValidValues: value.AttribValidValues.map(function (v) {
19631
+ AttribValidValues: ((_value$AttribValidVal = value.AttribValidValues) === null || _value$AttribValidVal === void 0 ? void 0 : _value$AttribValidVal.length) > 0 && value.AttribValidValues.map(function (v) {
19630
19632
  return {
19631
19633
  label: v.validCode,
19632
19634
  Dfltflag: v.Dfltflag
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primary_care_admin_binder",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",