mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-07 00:27:12 +00:00
Only return logs that exist
This commit is contained in:
1 parent
782db3f324
commit
4726fe8b6f
3 files changed
+26
-7
No files matched your search
@@ -38,14 +38,14 @@ export class LogsComponent implements OnInit, AfterViewChecked {
|
||||
}
|
||||
|
||||
reloadLogs() {
|
||||
this.logService.get(this.activeLog).subscribe(
|
||||
(result) => {
|
||||
this.logService.get(this.activeLog).subscribe({
|
||||
next: (result) => {
|
||||
this.logs = result
|
||||
},
|
||||
(error) => {
|
||||
error: () => {
|
||||
this.logs = []
|
||||
}
|
||||
)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
getLogLevel(log: string) {
|
||||
|
||||
Reference in new issue
Block a user