From b2019ff262217fab4895b99513c254ac6f64f656 Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Thu, 12 Nov 2020 10:05:19 +0100 Subject: [PATCH] fixes log on windows --- src-ui/src/app/components/manage/logs/logs.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-ui/src/app/components/manage/logs/logs.component.ts b/src-ui/src/app/components/manage/logs/logs.component.ts index da507cbe5..f80aada21 100644 --- a/src-ui/src/app/components/manage/logs/logs.component.ts +++ b/src-ui/src/app/components/manage/logs/logs.component.ts @@ -30,7 +30,7 @@ export class LogsComponent implements OnInit { onScroll() { let lastCreated = null if (this.logs.length > 0) { - lastCreated = this.logs[this.logs.length-1].created + lastCreated = new Date(this.logs[this.logs.length-1].created).toISOString() } this.logService.list(1, 25, 'created', 'des', {'created__lt': lastCreated, 'level__gte': this.level}).subscribe(result => { this.logs.push(...result.results)