mirror of
https://github.com/immich-app/immich.git
synced 2025-11-02 02:57:49 +09:00
feat(web): use thumbhash as a cache key (#16106)
Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
interface Props {
|
||||
assetId: string;
|
||||
projectionType: string | null | undefined;
|
||||
checksum: string;
|
||||
cacheKey: string | null;
|
||||
loopVideo: boolean;
|
||||
onClose?: () => void;
|
||||
onPreviousAsset?: () => void;
|
||||
@@ -18,7 +18,7 @@
|
||||
let {
|
||||
assetId,
|
||||
projectionType,
|
||||
checksum,
|
||||
cacheKey,
|
||||
loopVideo,
|
||||
onPreviousAsset,
|
||||
onClose,
|
||||
@@ -33,7 +33,7 @@
|
||||
{:else}
|
||||
<VideoNativeViewer
|
||||
{loopVideo}
|
||||
{checksum}
|
||||
{cacheKey}
|
||||
{assetId}
|
||||
{onPreviousAsset}
|
||||
{onNextAsset}
|
||||
|
||||
Reference in New Issue
Block a user