UI: Fixed widget height calculation when selecting state parameter - Auto fill mobile layout height

This commit is contained in:
Vladyslav_Prykhodko 2021-09-27 11:27:47 +03:00
parent 3f000106d1
commit de23ca4447

View File

@ -511,7 +511,7 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget {
@enumerable(true) @enumerable(true)
get rows(): number { get rows(): number {
let res; let res;
if (this.dashboard.isMobileSize && !this.dashboard.mobileAutofillHeight) { if (this.dashboard.isMobileSize) {
let mobileHeight; let mobileHeight;
if (this.widgetLayout) { if (this.widgetLayout) {
mobileHeight = this.widgetLayout.mobileHeight; mobileHeight = this.widgetLayout.mobileHeight;