fall back to permanent_url if canonical_url is missing (claim_list entry)

This commit is contained in:
Sean Yesmunt 2019-09-04 12:16:51 -04:00
parent dc57671bd9
commit 5834a2f2e1
2 changed files with 4 additions and 3 deletions

View file

@ -54,7 +54,7 @@ class UriIndicator extends React.PureComponent<Props> {
if (channelClaim) { if (channelClaim) {
const { name } = channelClaim; const { name } = channelClaim;
const channelLink = link ? channelClaim.canonical_url : false; const channelLink = link ? channelClaim.canonical_url || channelClaim.permanent_url : false;
const inner = <span className="channel-name">{name}</span>; const inner = <span className="channel-name">{name}</span>;

View file

@ -683,5 +683,6 @@
"Content Downloaded": "Content Downloaded", "Content Downloaded": "Content Downloaded",
"The viewer doesn't support this file type. See more info below.": "The viewer doesn't support this file type. See more info below.", "The viewer doesn't support this file type. See more info below.": "The viewer doesn't support this file type. See more info below.",
"Catching up...": "Catching up...", "Catching up...": "Catching up...",
"%s blocks behind": "%s blocks behind" "%s blocks behind": "%s blocks behind",
} "Support this creator": "Support this creator"
}