fix(web): asset viewer showing wrong viewer type when hovering on stack thumbnails (#26741)

pull/26756/head
Snowknight26 2026-03-06 14:17:11 -06:00 committed by GitHub
parent 6012d22d98
commit 6e9a425592
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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';