1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00

fix(web): live photo link action (#14668)

This commit is contained in:
Michel Heusschen 2024-12-12 16:48:50 +01:00 committed by GitHub
parent c52f1bae81
commit 11be85feb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@
const isLivePhotoCandidate = const isLivePhotoCandidate =
selection.length === 2 && selection.length === 2 &&
selection.some((asset) => asset.type === AssetTypeEnum.Image) && selection.some((asset) => asset.type === AssetTypeEnum.Image) &&
selection.some((asset) => asset.type === AssetTypeEnum.Image); selection.some((asset) => asset.type === AssetTypeEnum.Video);
isLinkActionAvailable = isAllOwned && (isLivePhoto || isLivePhotoCandidate); isLinkActionAvailable = isAllOwned && (isLivePhoto || isLivePhotoCandidate);
}); });