@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.
@@ -15632,6 +15632,7 @@ var CompetencyPassbookComponent = /** @class */ (function () {
15632
15632
  _a.label = 1;
15633
15633
  case 1:
15634
15634
  _a.trys.push([1, 3, , 4]);
15635
+ this.competencyStrength = 0;
15635
15636
  return [4 /*yield*/, this.callCompetencySearch(request)];
15636
15637
  case 2:
15637
15638
  response = _a.sent();
@@ -15667,15 +15668,9 @@ var CompetencyPassbookComponent = /** @class */ (function () {
15667
15668
  data = _a.sent();
15668
15669
  area['themeData'] = data;
15669
15670
  area['count'] = data.length;
15671
+ this.competencyStrength = this.competencyStrength + data.length;
15670
15672
  if (indexValue === 0) {
15671
- this.competencyStrength = 0;
15672
15673
  this.getThemeDataByArea(area);
15673
- this.competencyStrength = this.competencyArea.reduce((/**
15674
- * @param {?} partialSum
15675
- * @param {?} data
15676
- * @return {?}
15677
- */
15678
- function (partialSum, data) { return partialSum + data.count; }), 0);
15679
15674
  }
15680
15675
  return [2 /*return*/];
15681
15676
  }