mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
unneeded cast
This commit is contained in:
parent
cd8806eac0
commit
236973e329
@ -15,7 +15,7 @@ describe('AssetViewerNavBar component', () => {
|
|||||||
showShareButton: false,
|
showShareButton: false,
|
||||||
preAction: () => {},
|
preAction: () => {},
|
||||||
onZoomImage: () => {},
|
onZoomImage: () => {},
|
||||||
onCopyImage: async () => {},
|
onCopyImage: () => {},
|
||||||
onAction: () => {},
|
onAction: () => {},
|
||||||
onRunJob: () => {},
|
onRunJob: () => {},
|
||||||
onPlaySlideshow: () => {},
|
onPlaySlideshow: () => {},
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
const handleUnlink = async () => {
|
const handleUnlink = async () => {
|
||||||
const [still] = [...getOwnedAssets()];
|
const [still] = [...getOwnedAssets()];
|
||||||
if (still) {
|
if (still) {
|
||||||
const motionId = (still as TimelineAsset).livePhotoVideoId;
|
const motionId = still.livePhotoVideoId;
|
||||||
if (!motionId) {
|
if (!motionId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user