Commit a1b3816f6a2ac6fb02fd3761f58d0a0e7357149f

Authored by Igor Kulikov
Committed by GitHub
2 parents 7446adbf de23ca44

Merge pull request #5283 from vvlladd28/bug/dashboard-component/mobile-autofill-height

[3.3.2] 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;