Browse Source

Merge pull request #12105 from vvlladd28/bug/dashboard-add-widget/mobile-not-show

Fixed add small widget in mobile layout dashboard
pull/12124/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
0c200d963e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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

@ -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…
Cancel
Save