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
This commit is contained in:
Igor Kulikov 2021-09-27 12:08:55 +03:00 committed by GitHub
commit a1b3816f6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;