From 0e61d4b56ba9d8b056754b5230c8e0ca29b7db64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20D=C3=ADaz?= Date: Fri, 11 Aug 2023 10:56:07 -0300 Subject: [PATCH] fix: Show SmartWearables video showcase (#1969) --- webapp/src/components/AssetImage/AssetImage.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/src/components/AssetImage/AssetImage.tsx b/webapp/src/components/AssetImage/AssetImage.tsx index c87cf3b5b..d77b8098d 100644 --- a/webapp/src/components/AssetImage/AssetImage.tsx +++ b/webapp/src/components/AssetImage/AssetImage.tsx @@ -125,7 +125,11 @@ const AssetImage = (props: Props) => { async (action: ControlOptionAction) => { const ZOOM_DELTA = 0.03 - if (ControlOptionAction.PLAY_SMART_WEARABLE_VIDEO_SHOWCASE && asset) { + if ( + ControlOptionAction.PLAY_SMART_WEARABLE_VIDEO_SHOWCASE && + asset && + asset.data.wearable?.isSmart + ) { return onPlaySmartWearableVideoShowcase(asset) }