Fix variable undefined error

This commit is contained in:
viktorstrate
2019-08-10 17:59:49 +02:00
parent 5521c65c66
commit 891af5f2ba

View File

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