@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.
- package/bundles/sunbird-cb-consumption.umd.js +2 -7
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +3 -8
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +3 -8
- package/fesm2015/sunbird-cb-consumption.js +2 -7
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +2 -7
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
}
|