edit-meta: add null check

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/1010/head
Varun Patil 2024-01-10 15:42:38 -08:00
parent ea540e1434
commit 3addbaeb72
1 changed files with 1 additions and 1 deletions

View File

@ -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));
} }
}); });