Only return logs that exist

This commit is contained in:
shamoon committed 2023-02-23 14:43:43 -08:00
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) {