Added check for webp images when getting the src img for SceneWall.

This commit is contained in:
bordet991 2026-03-24 23:54:47 +01:00
parent fd480c5a3e
commit 1ff1a543e1

View file

@ -240,7 +240,9 @@ const SceneWall: React.FC<ISceneWallProps> = ({
return {
scene: s,
src:
s.paths.preview && !erroredImgs.includes(s.paths.preview)
s.paths.webp && !erroredImgs.includes(s.paths.webp)
? s.paths.webp
: s.paths.preview && !erroredImgs.includes(s.paths.preview)
? s.paths.preview!
: s.paths.screenshot!,
link: sceneQueue