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,
|
||||
preAction: () => {},
|
||||
onZoomImage: () => {},
|
||||
onCopyImage: async () => {},
|
||||
onCopyImage: () => {},
|
||||
onAction: () => {},
|
||||
onRunJob: () => {},
|
||||
onPlaySlideshow: () => {},
|
||||
|
@ -50,7 +50,7 @@
|
||||
const handleUnlink = async () => {
|
||||
const [still] = [...getOwnedAssets()];
|
||||
if (still) {
|
||||
const motionId = (still as TimelineAsset).livePhotoVideoId;
|
||||
const motionId = still.livePhotoVideoId;
|
||||
if (!motionId) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user