@sunbird-cb/consumption 0.0.78 → 0.0.79

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.
@@ -15836,6 +15836,7 @@
15836
15836
  _a.label = 1;
15837
15837
  case 1:
15838
15838
  _a.trys.push([1, 3, , 4]);
15839
+ this.competencyStrength = 0;
15839
15840
  return [4 /*yield*/, this.callCompetencySearch(request)];
15840
15841
  case 2:
15841
15842
  response = _a.sent();
@@ -15871,15 +15872,9 @@
15871
15872
  data = _a.sent();
15872
15873
  area['themeData'] = data;
15873
15874
  area['count'] = data.length;
15875
+ this.competencyStrength = this.competencyStrength + data.length;
15874
15876
  if (indexValue === 0) {
15875
- this.competencyStrength = 0;
15876
15877
  this.getThemeDataByArea(area);
15877
- this.competencyStrength = this.competencyArea.reduce((/**
15878
- * @param {?} partialSum
15879
- * @param {?} data
15880
- * @return {?}
15881
- */
15882
- function (partialSum, data) { return partialSum + data.count; }), 0);
15883
15878
  }
15884
15879
  return [2 /*return*/];
15885
15880
  }