mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 14:29:26 +03:00
fix(web): asset viewer showing wrong viewer type when hovering on stack thumbnails (#26741)
This commit is contained in:
@@ -362,7 +362,7 @@
|
|||||||
|
|
||||||
const viewerKind = $derived.by(() => {
|
const viewerKind = $derived.by(() => {
|
||||||
if (previewStackedAsset) {
|
if (previewStackedAsset) {
|
||||||
return asset.type === AssetTypeEnum.Image ? 'StackPhotoViewer' : 'StackVideoViewer';
|
return previewStackedAsset.type === AssetTypeEnum.Image ? 'StackPhotoViewer' : 'StackVideoViewer';
|
||||||
}
|
}
|
||||||
if (asset.type === AssetTypeEnum.Video) {
|
if (asset.type === AssetTypeEnum.Video) {
|
||||||
return 'VideoViewer';
|
return 'VideoViewer';
|
||||||
|
|||||||
Reference in New Issue
Block a user