fall back to permanent_url if canonical_url is missing (claim_list entry)
This commit is contained in:
parent
dc57671bd9
commit
5834a2f2e1
2 changed files with 4 additions and 3 deletions
|
@ -54,7 +54,7 @@ class UriIndicator extends React.PureComponent<Props> {
|
|||
|
||||
if (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>;
|
||||
|
||||
|
|
|
@ -683,5 +683,6 @@
|
|||
"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.",
|
||||
"Catching up...": "Catching up...",
|
||||
"%s blocks behind": "%s blocks behind"
|
||||
"%s blocks behind": "%s blocks behind",
|
||||
"Support this creator": "Support this creator"
|
||||
}
|
Loading…
Reference in a new issue