Browse Source

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

pull/5283/head
Vladyslav_Prykhodko 5 years ago
parent
commit
de23ca4447
  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