web/admin: fix log viewer empty state (#9315)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2024-04-17 13:13:03 +02:00
committed by GitHub
parent 2df0c95806
commit 951acb26dd

View File

@ -28,11 +28,11 @@ export class LogViewer extends Table<LogEvent> {
pagination: {
next: 0,
previous: 0,
count: 1,
count: this.logs?.length || 0,
current: 1,
totalPages: 1,
startIndex: 1,
endIndex: 1,
endIndex: this.logs?.length || 0,
},
results: this.logs || [],
};