mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
74199: Infinite scroll size changes
This commit is contained in:
@@ -12,6 +12,7 @@ import { DSpaceObject } from '../../../../core/shared/dspace-object.model';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-authorized-collection-selector',
|
||||
styleUrls: ['../dso-selector.component.scss'],
|
||||
templateUrl: '../dso-selector.component.html'
|
||||
})
|
||||
/**
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<div class="scrollable-menu list-group">
|
||||
<div
|
||||
infiniteScroll
|
||||
[infiniteScrollDistance]="0.2"
|
||||
[infiniteScrollDistance]="1"
|
||||
[infiniteScrollThrottle]="300"
|
||||
[infiniteScrollContainer]="'.scrollable-menu'"
|
||||
[fromRoot]="true"
|
||||
|
@@ -68,7 +68,7 @@ export class DSOSelectorComponent implements OnInit, OnDestroy {
|
||||
/**
|
||||
* Default pagination for this feature
|
||||
*/
|
||||
defaultPagination = { id: 'dso-selector', currentPage: 1, pageSize: 5 } as any;
|
||||
defaultPagination = { id: 'dso-selector', currentPage: 1, pageSize: 10 } as any;
|
||||
|
||||
/**
|
||||
* List with search results of DSpace objects for the current query
|
||||
|
Reference in New Issue
Block a user