mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 07:01:59 +00:00
fix(web): live photo link action (#14668)
This commit is contained in:
parent
c52f1bae81
commit
11be85feb3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue