mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
fixes log on windows
This commit is contained in:
parent
fe6568e3b3
commit
b2019ff262
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue