1
Fork 0

Fix variable undefined error

This commit is contained in:
viktorstrate 2019-08-10 17:59:49 +02:00
parent 5521c65c66
commit 891af5f2ba
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class PhotoScanner {
} }
this.broadcastProgress = _.debounce(() => { this.broadcastProgress = _.debounce(() => {
if (imagesToProgress == 0) return if (this.imagesToProgress == 0) return
console.log( console.log(
`Progress: ${(this.finishedImages / this.imagesToProgress) * 100}` `Progress: ${(this.finishedImages / this.imagesToProgress) * 100}`