mirror of
https://github.com/stashapp/stash.git
synced 2026-03-25 14:41:18 +01:00
Added check for webp images when getting the src img for SceneWall.
This commit is contained in:
parent
fd480c5a3e
commit
1ff1a543e1
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue