gamma-app-controller 1.2.30 → 1.3.2
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.
- package/esm2020/lib/application-controller/support-components/dash-chart/dash-chart.component.mjs +2 -2
- package/esm2020/lib/application-controller/support-components/dash-table/dash-table.component.mjs +2 -2
- package/esm2020/lib/application-controller/support-components/table-with-bar/table-with-bar.component.mjs +2 -2
- package/fesm2015/gamma-app-controller.mjs +6 -3
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +3 -3
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
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'];
|
|
@@ -4864,7 +4864,7 @@ class DashTableComponent {
|
|
|
4864
4864
|
this.configColume = Object.keys(value.data[0]);
|
|
4865
4865
|
this.dataSourseForTable = value.data.slice(0, 10);
|
|
4866
4866
|
this.selectedViewConfigs = value;
|
|
4867
|
-
this.userOptionContainer = value.selectedWidgetConfig
|
|
4867
|
+
this.userOptionContainer = value.selectedWidgetConfig?.permissions ? value.selectedWidgetConfig.permissions : [];
|
|
4868
4868
|
this.selectedTableViewType = value.selectedViewType;
|
|
4869
4869
|
if (value.selectedWidgetConfig) {
|
|
4870
4870
|
this.table_columns_config['kpiConfig'] = value.selectedWidgetConfig;
|
|
@@ -5315,7 +5315,7 @@ class TableWithBarComponent {
|
|
|
5315
5315
|
this.configColume = Object.keys(value.data[0]);
|
|
5316
5316
|
this.dataSourseForTable = value.data.slice(0, 5);
|
|
5317
5317
|
this.selectedViewConfigs = value;
|
|
5318
|
-
this.userOptionContainer = value.selectedWidgetConfig
|
|
5318
|
+
this.userOptionContainer = value.selectedWidgetConfig?.permissions ? value.selectedWidgetConfig.permissions : [];
|
|
5319
5319
|
this.selectedTableViewType = value.selectedViewType;
|
|
5320
5320
|
if (value.selectedWidgetConfig) {
|
|
5321
5321
|
this.table_columns_config['kpiConfig'] = value.selectedWidgetConfig;
|