Skip to content

Commit

Permalink
fix: Show SmartWearables video showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Aug 11, 2023
1 parent d2a0937 commit f73876c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webapp/src/components/AssetImage/AssetImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit f73876c

Please sign in to comment.