Default to 5 personas per page

This commit is contained in:
Cohee 2024-01-31 03:34:51 +02:00
parent 115082bfdd
commit f8032ac649
1 changed files with 2 additions and 2 deletions

View File

@ -5421,8 +5421,8 @@ export async function getUserAvatars(doRender = true) {
$('#persona_pagination_container').pagination({
dataSource: entities,
pageSize: Number(localStorage.getItem(storageKey)) || per_page_default,
sizeChangerOptions: [10, 25, 50, 100, 250, 500, 1000],
pageSize: Number(localStorage.getItem(storageKey)) || 5,
sizeChangerOptions: [5, 10, 25, 50, 100, 250, 500, 1000],
pageRange: 1,
pageNumber: savePersonasPage || 1,
position: 'top',