[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:
Vito
2018-03-12 16:25:38 +00:00
committed by Eugenio Romano
parent 333e8ee89c
commit 84fcdd46c2
7 changed files with 7 additions and 7 deletions

View File

@@ -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);
});

View File

@@ -130,7 +130,7 @@ export class UserPreferencesService {
}
/** Gets an array containing the available page sizes. */
getDifferentPageSizes(): number[] {
getDefaultPageSizes(): number[] {
return this.defaults.supportedPageSizes;
}