gamma-app-controller 1.2.30 → 1.3.1

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.
@@ -4424,6 +4424,7 @@ class DashChartComponent {
4424
4424
  this.getChartConfigOutPut = new EventEmitter();
4425
4425
  }
4426
4426
  set chartconfigData(value) {
4427
+ var _a;
4427
4428
  if (value === undefined || value.length === 0) {
4428
4429
  return;
4429
4430
  }
@@ -4434,7 +4435,7 @@ class DashChartComponent {
4434
4435
  this.dataSourseForChart = value.data.slice(0, 10);
4435
4436
  this.bubbleChartData = value.data;
4436
4437
  this.previewData = value.data;
4437
- this.userOptionContainer = value.selectedWidgetConfig.permissions ? value.selectedWidgetConfig.permissions : [];
4438
+ this.userOptionContainer = ((_a = value.selectedWidgetConfig) === null || _a === void 0 ? void 0 : _a.permissions) ? value.selectedWidgetConfig.permissions : [];
4438
4439
  if (value.selectedWidgetConfig) {
4439
4440
  this.chartConfig = value.selectedWidgetConfig.dataConfig;
4440
4441
  this.chartType = value.selectedWidgetConfig.dataConfig['chartType'];