openchs-models 1.32.3 → 1.32.5

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.
@@ -219,7 +219,7 @@ class ReportCard extends _BaseEntity.default {
219
219
 
220
220
  createNestedErrorResults(primaryValue, secondaryValue) {
221
221
  const reportCard = this;
222
- return Array(this.card.countOfCards).map(index => {
222
+ return Array.from(Array(this.countOfCards).keys()).map(index => {
223
223
  const itemKey = reportCard.getCardId(index);
224
224
  return _NestedReportCardResult.default.create(primaryValue, secondaryValue, false, true, itemKey);
225
225
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "openchs-models",
3
3
  "description": "OpenCHS data model to be used by front end clients",
4
- "version": "1.32.3",
4
+ "version": "1.32.5",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",