edit-meta: add null check
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/1010/head
parent
ea540e1434
commit
3addbaeb72
|
@ -311,7 +311,7 @@ export default defineComponent({
|
||||||
|
|
||||||
// Update progress
|
// Update progress
|
||||||
done++;
|
done++;
|
||||||
this.progress = Math.round((done * 100) / this.photos!.length);
|
this.progress = Math.round((done * 100) / (this.photos?.length ?? 100));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue