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.
@@ -4422,7 +4422,7 @@ class DashChartComponent {
4422
4422
  this.dataSourseForChart = value.data.slice(0, 10);
4423
4423
  this.bubbleChartData = value.data;
4424
4424
  this.previewData = value.data;
4425
- this.userOptionContainer = value.selectedWidgetConfig.permissions ? value.selectedWidgetConfig.permissions : [];
4425
+ this.userOptionContainer = value.selectedWidgetConfig?.permissions ? value.selectedWidgetConfig.permissions : [];
4426
4426
  if (value.selectedWidgetConfig) {
4427
4427
  this.chartConfig = value.selectedWidgetConfig.dataConfig;
4428
4428
  this.chartType = value.selectedWidgetConfig.dataConfig['chartType'];