mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 12:29:20 +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(() => {
|
||||
if (previewStackedAsset) {
|
||||
return asset.type === AssetTypeEnum.Image ? 'StackPhotoViewer' : 'StackVideoViewer';
|
||||
return previewStackedAsset.type === AssetTypeEnum.Image ? 'StackPhotoViewer' : 'StackVideoViewer';
|
||||
}
|
||||
if (asset.type === AssetTypeEnum.Video) {
|
||||
return 'VideoViewer';
|
||||
|
||||
Reference in New Issue
Block a user