@sunbird-cb/consumption 0.0.20 → 0.0.21

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.
@@ -5329,7 +5329,7 @@ var ContentStripWithTabsLibComponent = /** @class */ (function (_super) {
5329
5329
  function (strip, calculateParentStatus) {
5330
5330
  if (calculateParentStatus === void 0) { calculateParentStatus = true; }
5331
5331
  return __awaiter(this, void 0, void 0, function () {
5332
- var originalFilters, response, allProviders, error_5;
5332
+ var originalFilters, response, error_5;
5333
5333
  return __generator(this, function (_a) {
5334
5334
  switch (_a.label) {
5335
5335
  case 0:
@@ -5352,45 +5352,7 @@ var ContentStripWithTabsLibComponent = /** @class */ (function (_super) {
5352
5352
  if (response && response.results) {
5353
5353
  // console.log('calling after-- ')
5354
5354
  if (response.results.result.content && response.results.result.content.length) {
5355
- allProviders = [
5356
- {
5357
- // tslint:disable-next-line: max-line-length
5358
- posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
5359
- appIcon: '',
5360
- name: 'Ministry of Consumer Affairs, Food and Public Distribution',
5361
- },
5362
- {
5363
- // tslint:disable-next-line: max-line-length
5364
- posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
5365
- appIcon: '',
5366
- name: 'Ministry of Railways',
5367
- },
5368
- {
5369
- // tslint:disable-next-line: max-line-length
5370
- posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
5371
- appIcon: '',
5372
- name: 'Department of Post',
5373
- },
5374
- {
5375
- // tslint:disable-next-line: max-line-length
5376
- posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
5377
- appIcon: '',
5378
- name: 'NLC India Limited',
5379
- },
5380
- {
5381
- // tslint:disable-next-line: max-line-length
5382
- posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
5383
- appIcon: '',
5384
- name: 'Mission Karmayogi',
5385
- },
5386
- {
5387
- // tslint:disable-next-line: max-line-length
5388
- posterImage: 'https://portal.karmayogi.nic.in/content-store/content/do_114051411119235072127/artifact/do_114051411119235072127_1715260168985_default-provider.svg',
5389
- appIcon: '',
5390
- name: 'Mission Karmayogi',
5391
- },
5392
- ];
5393
- this.processStrip(strip, this.transformContentsToWidgets(allProviders, strip), 'done', calculateParentStatus, response.viewMoreUrl);
5355
+ this.processStrip(strip, this.transformContentsToWidgets(response.results.result.content, strip), 'done', calculateParentStatus, response.viewMoreUrl);
5394
5356
  }
5395
5357
  else {
5396
5358
  this.processStrip(strip, [], 'error', calculateParentStatus, null);