Fix variable undefined error
This commit is contained in:
parent
5521c65c66
commit
891af5f2ba
|
@ -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}`
|
||||||
|
|
Loading…
Reference in New Issue