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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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) { |
|
|
|
|