UI: Fixed add small widget in mobile layout dashboard
This commit is contained in:
parent
72c6a375b3
commit
4219ed075f
@ -761,7 +761,8 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget {
|
||||
} else {
|
||||
res = this.sizeY;
|
||||
}
|
||||
return Math.floor(res);
|
||||
res = Math.floor(res);
|
||||
return res === 0 ? 1 : res;
|
||||
}
|
||||
|
||||
set rows(rows: number) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user