fix: videos not appearing when don't play animated images is one

This commit is contained in:
freeplay 2023-07-03 16:01:54 -04:00
parent f99e8b3726
commit 3caba40faf

View file

@ -103,7 +103,7 @@ const plyrMini = ref(false);
const url = const url =
props.raw || defaultStore.state.loadRawImages props.raw || defaultStore.state.loadRawImages
? props.media.url ? props.media.url
: defaultStore.state.disableShowingAnimatedImages : defaultStore.state.disableShowingAnimatedImages && props.media.type.startsWith('image')
? getStaticImageUrl(props.media.thumbnailUrl) ? getStaticImageUrl(props.media.thumbnailUrl)
: props.media.thumbnailUrl; : props.media.thumbnailUrl;