From de23ca4447fbbc20995f1c9589b8a6e8061c31a9 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 27 Sep 2021 11:27:47 +0300 Subject: [PATCH] UI: Fixed widget height calculation when selecting state parameter - Auto fill mobile layout height --- .../src/app/modules/home/models/dashboard-component.models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ffcaef06ef..7c80219da3 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 @@ -511,7 +511,7 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget { @enumerable(true) get rows(): number { let res; - if (this.dashboard.isMobileSize && !this.dashboard.mobileAutofillHeight) { + if (this.dashboard.isMobileSize) { let mobileHeight; if (this.widgetLayout) { mobileHeight = this.widgetLayout.mobileHeight;