mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Only return logs that exist
This commit is contained in:
@@ -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