mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	fixes log on windows
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user