fix(web): asset viewer showing wrong viewer type when hovering on stack thumbnails (#26741)
parent
6012d22d98
commit
6e9a425592
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue