diff --git a/ui-ngx/src/app/modules/home/models/dashboard-component.models.ts b/ui-ngx/src/app/modules/home/models/dashboard-component.models.ts index b4132bf882..1f8c4c91f7 100644 --- a/ui-ngx/src/app/modules/home/models/dashboard-component.models.ts +++ b/ui-ngx/src/app/modules/home/models/dashboard-component.models.ts @@ -761,7 +761,8 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget { } else { res = this.sizeY; } - return Math.floor(res); + res = Math.floor(res); + return res === 0 ? 1 : res; } set rows(rows: number) {