Skip to content

Commit

Permalink
Fix an issue with the old tricolor stage handler
Browse files Browse the repository at this point in the history
  • Loading branch information
misenhower committed Sep 12, 2024
1 parent e0585be commit 2dee0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/splatfests.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function defineSplatfestRegionStore(region) {
}

// Move the thumbnail image to "thumbnailImage" and pull in the high-res image for the stage
if (!('thumbnailImage' in fest.tricolorStage)) {
if (fest.tricolorStage && !fest.tricolorStage.thumbnailImage) {
fest.tricolorStage.thumbnailImage = fest.tricolorStage.image;
fest.tricolorStage.image =
vsStages.nodes.find(s => s.id === fest.tricolorStage.id)?.originalImage ||
Expand Down

0 comments on commit 2dee0c0

Please sign in to comment.