This commit is contained in:
Oscar Beaumont 2024-05-30 21:25:20 +08:00
parent fc9d6bc69b
commit ef870c103f

View file

@ -67,9 +67,9 @@ export const FileThumb = forwardRef<HTMLImageElement, ThumbProps>((props, ref) =
if (thumbType === 'thumbnail') if (thumbType === 'thumbnail')
if ( if (
loadState.thumbnail !== 'error' && loadState.thumbnail !== 'error' // &&
itemData.hasLocalThumbnail && // itemData.hasLocalThumbnail &&
itemData.thumbnailKey.length > 0 // itemData.thumbnailKey.length > 0
) )
return { variant: 'thumbnail' }; return { variant: 'thumbnail' };