Merge pull request #2739 from paperless-ngx/fix-2738

Fix: only offer log files that exist
This commit is contained in:
shamoon authored and GitHub committed 2023-02-23 15:32:29 -08:00
commit dbea2acc8f
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) {