web/admin: fix log viewer empty state (#9315)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -28,11 +28,11 @@ export class LogViewer extends Table<LogEvent> {
|
|||||||
pagination: {
|
pagination: {
|
||||||
next: 0,
|
next: 0,
|
||||||
previous: 0,
|
previous: 0,
|
||||||
count: 1,
|
count: this.logs?.length || 0,
|
||||||
current: 1,
|
current: 1,
|
||||||
totalPages: 1,
|
totalPages: 1,
|
||||||
startIndex: 1,
|
startIndex: 1,
|
||||||
endIndex: 1,
|
endIndex: this.logs?.length || 0,
|
||||||
},
|
},
|
||||||
results: this.logs || [],
|
results: this.logs || [],
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user