UI: Fixed widget height calculation when selecting state parameter - Auto fill mobile layout height
This commit is contained in:
parent
3f000106d1
commit
de23ca4447
@ -511,7 +511,7 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget {
|
|||||||
@enumerable(true)
|
@enumerable(true)
|
||||||
get rows(): number {
|
get rows(): number {
|
||||||
let res;
|
let res;
|
||||||
if (this.dashboard.isMobileSize && !this.dashboard.mobileAutofillHeight) {
|
if (this.dashboard.isMobileSize) {
|
||||||
let mobileHeight;
|
let mobileHeight;
|
||||||
if (this.widgetLayout) {
|
if (this.widgetLayout) {
|
||||||
mobileHeight = this.widgetLayout.mobileHeight;
|
mobileHeight = this.widgetLayout.mobileHeight;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user