gamma-app-controller 1.2.7 → 1.2.8

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.
@@ -8564,7 +8564,6 @@ class GammaAdvanceOperatorTableComponent {
8564
8564
  return;
8565
8565
  }
8566
8566
  else {
8567
- debugger;
8568
8567
  this.isLoader = true;
8569
8568
  this.page_config = value;
8570
8569
  this.page_parms = value.titleParams;
@@ -18349,9 +18348,9 @@ class KpiWithDataSetTestComponent {
18349
18348
  let apiCalls = [];
18350
18349
  this.allWidgetByDataset.forEach(view => {
18351
18350
  view.datasetIds.forEach(id => {
18352
- let found = this.dataSetModal.find(d => d.datasetId === id);
18351
+ let found = this.dataSetModal.find(d => d.datasetId === id.datasetId);
18353
18352
  if (found) {
18354
- apiCalls.push(this.datasetService.getDataFromDataSet(found, id, filter));
18353
+ apiCalls.push(this.datasetService.getDataFromDataSet(found, id.datasetId, filter));
18355
18354
  }
18356
18355
  });
18357
18356
  });
@@ -19236,9 +19235,9 @@ class KpiWithDataSetTestComponent {
19236
19235
  let apiCalls = [];
19237
19236
  this.allWidgetByDataset.forEach(view => {
19238
19237
  view.datasetIds.forEach(id => {
19239
- let found = this.dataSetModal.find(d => d.datasetId === id);
19238
+ let found = this.dataSetModal.find(d => d.datasetId === id.datasetId);
19240
19239
  if (found) {
19241
- apiCalls.push(this.datasetService.getDataFromDataSet(found, id, filter));
19240
+ apiCalls.push(this.datasetService.getDataFromDataSet(found, id.datasetId, filter));
19242
19241
  }
19243
19242
  });
19244
19243
  });
@@ -19267,9 +19266,9 @@ class KpiWithDataSetTestComponent {
19267
19266
  let apiCalls = [];
19268
19267
  this.allWidgetByDataset.forEach(view => {
19269
19268
  view.datasetIds.forEach(id => {
19270
- let found = this.dataSetModal.find(d => d.datasetId === id);
19269
+ let found = this.dataSetModal.find(d => d.datasetId === id.datasetId);
19271
19270
  if (found) {
19272
- apiCalls.push(this.datasetService.getDataFromDataSet(found, id, filter));
19271
+ apiCalls.push(this.datasetService.getDataFromDataSet(found, id.datasetId, filter));
19273
19272
  }
19274
19273
  });
19275
19274
  });
@@ -19293,6 +19292,7 @@ class KpiWithDataSetTestComponent {
19293
19292
  this.defaultViewIdsOnPageRefresh = [];
19294
19293
  const params = this.activatedRoute.snapshot.queryParams;
19295
19294
  this.defaultViewIdsOnPageRefresh = (params['views'] && params['views'] !== "") ? JSON.parse(decodeURIComponent(params['views'])) : [];
19295
+ debugger;
19296
19296
  all_views.forEach(element => {
19297
19297
  for (let entry of element.widgetNode) {
19298
19298
  let shouldDisplay = false;
@@ -19342,6 +19342,7 @@ class KpiWithDataSetTestComponent {
19342
19342
  const encodedViews = encodeURIComponent(JSON.stringify(currentViews));
19343
19343
  const mergedParams = {
19344
19344
  ...currentParams,
19345
+ views: encodedViews
19345
19346
  };
19346
19347
  const navigation = {
19347
19348
  queryParams: mergedParams,