web/admin: add basic session management UI

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-30 01:02:20 +02:00
parent 66a04aeec5
commit cf57660772
3 changed files with 75 additions and 6 deletions

View File

@ -16,7 +16,7 @@ export class UserConsentList extends Table<UserConsent> {
apiEndpoint(page: number): Promise<AKResponse<UserConsent>> {
return new CoreApi(DEFAULT_CONFIG).coreUserConsentList({
user: this.userId,
ordering: "expires",
ordering: this.order,
page: page,
pageSize: PAGE_SIZE,
});