Browse Source

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
pull/5285/head
Igor Kulikov 5 years ago
committed by GitHub
parent
commit
a1b3816f6a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui-ngx/src/app/modules/home/models/dashboard-component.models.ts

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

Loading…
Cancel
Save