Merge pull request #12105 from vvlladd28/bug/dashboard-add-widget/mobile-not-show
Fixed add small widget in mobile layout dashboard
This commit is contained in:
commit
0c200d963e
@ -761,7 +761,7 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget {
|
||||
} else {
|
||||
res = this.sizeY;
|
||||
}
|
||||
return Math.floor(res);
|
||||
return Math.max(Math.floor(res), 1);
|
||||
}
|
||||
|
||||
set rows(rows: number) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user