diff --git a/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.ts b/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.ts index ee18b6adc9..47ef73c300 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.ts @@ -184,6 +184,10 @@ export class DashboardComponent extends PageComponent implements IDashboardCompo swap: false, maxRows: 100, minCols: this.columns ? this.columns : 24, + maxCols: 3000, + maxItemCols: 1000, + maxItemRows: 1000, + maxItemArea: 1000000, outerMargin: true, margin: this.margin ? this.margin : 10, minItemCols: 1, diff --git a/ui-ngx/src/app/modules/home/components/widget/action/manage-widget-actions.component.ts b/ui-ngx/src/app/modules/home/components/widget/action/manage-widget-actions.component.ts index 60bd8bb7eb..f92a8c0c7d 100644 --- a/ui-ngx/src/app/modules/home/components/widget/action/manage-widget-actions.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/action/manage-widget-actions.component.ts @@ -299,14 +299,16 @@ export class ManageWidgetActionsComponent extends PageComponent implements OnIni writeValue(obj: WidgetActionsData): void { this.innerValue = obj; - setTimeout(() => { - this.dataSource.setActions(this.innerValue); - if (this.viewsInited) { - this.resetSortAndFilter(true); - } else { - this.dirtyValue = true; - } - }, 0); + if (this.innerValue) { + setTimeout(() => { + this.dataSource.setActions(this.innerValue); + if (this.viewsInited) { + this.resetSortAndFilter(true); + } else { + this.dirtyValue = true; + } + }, 0); + } } private onActionsUpdated() { diff --git a/ui-ngx/src/app/modules/home/components/widget/data-keys.component.html b/ui-ngx/src/app/modules/home/components/widget/data-keys.component.html index 56d4311485..82e0f3b8c6 100644 --- a/ui-ngx/src/app/modules/home/components/widget/data-keys.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/data-keys.component.html @@ -29,7 +29,7 @@