re-add claimViews (lost in rebase)
This commit is contained in:
parent
7575ab937f
commit
033c3d7f12
1 changed files with 2 additions and 5 deletions
|
@ -14,12 +14,9 @@ import createCanonicalLink from '../../../../utils/createCanonicalLink';
|
||||||
class AssetInfo extends React.Component {
|
class AssetInfo extends React.Component {
|
||||||
render () {
|
render () {
|
||||||
const { asset } = this.props;
|
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({
|
const assetCanonicalUrl = `${host}${createCanonicalLink({asset})}`;
|
||||||
asset,
|
|
||||||
absolute: true,
|
|
||||||
})}`;
|
|
||||||
|
|
||||||
let channelCanonicalUrl;
|
let channelCanonicalUrl;
|
||||||
if (channelName) {
|
if (channelName) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue