From 033c3d7f125391751609588e3b3f58194a5d9d77 Mon Sep 17 00:00:00 2001 From: Travis Eden Date: Wed, 31 Oct 2018 16:08:02 -0400 Subject: [PATCH] re-add claimViews (lost in rebase) --- client/src/containers/AssetInfo/view.jsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/client/src/containers/AssetInfo/view.jsx b/client/src/containers/AssetInfo/view.jsx index 38e55678..d7f2ca22 100644 --- a/client/src/containers/AssetInfo/view.jsx +++ b/client/src/containers/AssetInfo/view.jsx @@ -14,12 +14,9 @@ import createCanonicalLink from '../../../../utils/createCanonicalLink'; class AssetInfo extends React.Component { render () { const { asset } = this.props; - const { shortId, claimData: { channelName, channelShortId, certificateId, description, name, claimId, fileExt, contentType, thumbnail, host } } = asset; + const { claimViews, claimData: { channelName, channelShortId, description, name, fileExt, contentType, thumbnail, host } } = asset; - const assetCanonicalUrl = `${host}${createCanonicalLink({ - asset, - absolute: true, - })}`; + const assetCanonicalUrl = `${host}${createCanonicalLink({asset})}`; let channelCanonicalUrl; if (channelName) {