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.
@@ -8579,7 +8579,6 @@ class GammaAdvanceOperatorTableComponent {
8579
8579
  return;
8580
8580
  }
8581
8581
  else {
8582
- debugger;
8583
8582
  this.isLoader = true;
8584
8583
  this.page_config = value;
8585
8584
  this.page_parms = value.titleParams;
@@ -18368,9 +18367,9 @@ class KpiWithDataSetTestComponent {
18368
18367
  let apiCalls = [];
18369
18368
  this.allWidgetByDataset.forEach(view => {
18370
18369
  view.datasetIds.forEach(id => {
18371
- let found = this.dataSetModal.find(d => d.datasetId === id);
18370
+ let found = this.dataSetModal.find(d => d.datasetId === id.datasetId);
18372
18371
  if (found) {
18373
- apiCalls.push(this.datasetService.getDataFromDataSet(found, id, filter));
18372
+ apiCalls.push(this.datasetService.getDataFromDataSet(found, id.datasetId, filter));
18374
18373
  }
18375
18374
  });
18376
18375
  });
@@ -19269,9 +19268,9 @@ class KpiWithDataSetTestComponent {
19269
19268
  let apiCalls = [];
19270
19269
  this.allWidgetByDataset.forEach(view => {
19271
19270
  view.datasetIds.forEach(id => {
19272
- let found = this.dataSetModal.find(d => d.datasetId === id);
19271
+ let found = this.dataSetModal.find(d => d.datasetId === id.datasetId);
19273
19272
  if (found) {
19274
- apiCalls.push(this.datasetService.getDataFromDataSet(found, id, filter));
19273
+ apiCalls.push(this.datasetService.getDataFromDataSet(found, id.datasetId, filter));
19275
19274
  }
19276
19275
  });
19277
19276
  });
@@ -19302,9 +19301,9 @@ class KpiWithDataSetTestComponent {
19302
19301
  let apiCalls = [];
19303
19302
  this.allWidgetByDataset.forEach(view => {
19304
19303
  view.datasetIds.forEach(id => {
19305
- let found = this.dataSetModal.find(d => d.datasetId === id);
19304
+ let found = this.dataSetModal.find(d => d.datasetId === id.datasetId);
19306
19305
  if (found) {
19307
- apiCalls.push(this.datasetService.getDataFromDataSet(found, id, filter));
19306
+ apiCalls.push(this.datasetService.getDataFromDataSet(found, id.datasetId, filter));
19308
19307
  }
19309
19308
  });
19310
19309
  });
@@ -19329,6 +19328,7 @@ class KpiWithDataSetTestComponent {
19329
19328
  this.defaultViewIdsOnPageRefresh = [];
19330
19329
  const params = this.activatedRoute.snapshot.queryParams;
19331
19330
  this.defaultViewIdsOnPageRefresh = (params['views'] && params['views'] !== "") ? JSON.parse(decodeURIComponent(params['views'])) : [];
19331
+ debugger;
19332
19332
  all_views.forEach(element => {
19333
19333
  for (let entry of element.widgetNode) {
19334
19334
  let shouldDisplay = false;
@@ -19376,7 +19376,7 @@ class KpiWithDataSetTestComponent {
19376
19376
  currentViews.push(filterData);
19377
19377
  }
19378
19378
  const encodedViews = encodeURIComponent(JSON.stringify(currentViews));
19379
- const mergedParams = Object.assign({}, currentParams);
19379
+ const mergedParams = Object.assign(Object.assign({}, currentParams), { views: encodedViews });
19380
19380
  const navigation = {
19381
19381
  queryParams: mergedParams,
19382
19382
  queryParamsHandling: 'merge'