Commit de23ca4447fbbc20995f1c9589b8a6e8061c31a9

Authored by Vladyslav_Prykhodko
1 parent 3f000106

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

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