From dc781df417e3a349d0ba02fcbb20ccdca439555c Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Sun, 1 Dec 2019 01:46:21 +1100 Subject: [PATCH] Fix marker page error (#237) --- ui/v2/src/components/Wall/WallItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/v2/src/components/Wall/WallItem.tsx b/ui/v2/src/components/Wall/WallItem.tsx index 05da210d0..0cdbc4b46 100644 --- a/ui/v2/src/components/Wall/WallItem.tsx +++ b/ui/v2/src/components/Wall/WallItem.tsx @@ -31,7 +31,7 @@ export const WallItem: FunctionComponent = (props: IWallItemProp const [tags, setTags] = useState([]); const config = StashService.useConfiguration(); const videoHoverHook = VideoHoverHook.useVideoHover({resetOnMouseLeave: true}); - const showTextContainer = !!config.data ? config.data.configuration.interface.wallShowTitle : true; + const showTextContainer = !!config.data && !!config.data.configuration ? config.data.configuration.interface.wallShowTitle : true; function onMouseEnter() { VideoHoverHook.onMouseEnter(videoHoverHook);