diff options
Diffstat (limited to 'client/src/app/shared/users/user-notifications.component.ts')
-rw-r--r-- | client/src/app/shared/users/user-notifications.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/users/user-notifications.component.ts b/client/src/app/shared/users/user-notifications.component.ts index 50c495a9a..e3913ba56 100644 --- a/client/src/app/shared/users/user-notifications.component.ts +++ b/client/src/app/shared/users/user-notifications.component.ts | |||
@@ -13,6 +13,7 @@ import { UserNotification } from '@app/shared/users/user-notification.model' | |||
13 | export class UserNotificationsComponent implements OnInit { | 13 | export class UserNotificationsComponent implements OnInit { |
14 | @Input() ignoreLoadingBar = false | 14 | @Input() ignoreLoadingBar = false |
15 | @Input() infiniteScroll = true | 15 | @Input() infiniteScroll = true |
16 | @Input() itemsPerPage = 20 | ||
16 | 17 | ||
17 | notifications: UserNotification[] = [] | 18 | notifications: UserNotification[] = [] |
18 | 19 | ||
@@ -21,7 +22,7 @@ export class UserNotificationsComponent implements OnInit { | |||
21 | 22 | ||
22 | componentPagination: ComponentPagination = { | 23 | componentPagination: ComponentPagination = { |
23 | currentPage: 1, | 24 | currentPage: 1, |
24 | itemsPerPage: 20, | 25 | itemsPerPage: this.itemsPerPage, |
25 | totalItems: null | 26 | totalItems: null |
26 | } | 27 | } |
27 | 28 | ||