web/admin: use full page size for modals

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-02-14 16:16:26 +01:00
parent fbd00bf5f8
commit 4c5b07a091
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export class GroupSelectModal extends TableModal<Group> {
return new CoreApi(DEFAULT_CONFIG).coreGroupsList({ return new CoreApi(DEFAULT_CONFIG).coreGroupsList({
ordering: this.order, ordering: this.order,
page: page, page: page,
pageSize: (await uiConfig()).pagination.perPage / 2, pageSize: (await uiConfig()).pagination.perPage,
search: this.search || "", search: this.search || "",
}); });
} }

View File

@ -32,7 +32,7 @@ export class UserEvents extends Table<Event> {
return new EventsApi(DEFAULT_CONFIG).eventsEventsList({ return new EventsApi(DEFAULT_CONFIG).eventsEventsList({
page: page, page: page,
ordering: this.order, ordering: this.order,
pageSize: (await uiConfig()).pagination.perPage / 2, pageSize: (await uiConfig()).pagination.perPage,
username: this.targetUser, username: this.targetUser,
}); });
} }