mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2443] renaming getDifferentPageSize to getDefaultPageSize (#3060)
* [ADF-2443] renaming getDifferentPageSize to getDefaultPageSize * [ADF-2443] fixed method call for demo shell
This commit is contained in:
@@ -72,7 +72,7 @@ describe('UserPreferencesService', () => {
|
||||
});
|
||||
|
||||
it('should return supported page sizes defined in the app config', () => {
|
||||
const supportedPages = preferences.getDifferentPageSizes();
|
||||
const supportedPages = preferences.getDefaultPageSizes();
|
||||
expect(supportedPages).toEqual(supportedPaginationSize);
|
||||
});
|
||||
|
||||
|
@@ -130,7 +130,7 @@ export class UserPreferencesService {
|
||||
}
|
||||
|
||||
/** Gets an array containing the available page sizes. */
|
||||
getDifferentPageSizes(): number[] {
|
||||
getDefaultPageSizes(): number[] {
|
||||
return this.defaults.supportedPageSizes;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user