Skip to content

Commit 3fde95f

Browse files
authored
Merge pull request #2442 from nextcloud/artonge/stritify_live_photos_condition
fix: Strictify live photo condition to prevent false positive
2 parents baaa142 + 3812eb1 commit 3fde95f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/viewer/apps/viewer/src/components/Images.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ export default {
163163
}
164164
},
165165
livePhoto() {
166+
if (this.metadataFilesLivePhoto === undefined) {
167+
return undefined
168+
}
169+
166170
return findLivePhotoPeerFromFileId(this.metadataFilesLivePhoto, this.fileList)
167171
},
168172
livePhotoSrc() {

0 commit comments

Comments
 (0)