fix: infinite scroll not initialized for notifications on big screens (#3733)

This commit is contained in:
Robert Korulczyk 2023-04-17 10:07:00 +02:00 committed by GitHub
parent ecfbcd1c30
commit 1b5da13e8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 7 deletions

View File

@ -4,7 +4,7 @@ import Notification from '../../common/models/Notification';
export default class NotificationListState extends PaginatedListState<Notification> {
constructor() {
super({}, 1, 10);
super({}, 1, 20);
}
get type(): string {

View File

@ -3,7 +3,7 @@
padding: 0;
.NotificationList-content {
max-height: 70vh;
max-height: ~"min(70vh, 800px)";
overflow: auto;
}
}

View File

@ -33,11 +33,6 @@ class ListNotificationsController extends AbstractListController
'subject.discussion'
];
/**
* {@inheritdoc}
*/
public $limit = 10;
/**
* @var NotificationRepository
*/