Merge pull request #3646 from lbryio/fix-showPageAbandonedFlash
show page will not flash abandoned on load
This commit is contained in:
commit
ce955e1454
2 changed files with 4 additions and 3 deletions
|
@ -923,5 +923,6 @@
|
|||
"refreshing the app": "refreshing the app",
|
||||
"Follower": "Follower",
|
||||
"%repost_channel_link% reposted": "%repost_channel_link% reposted",
|
||||
"This channel may have been unpublished.": "This channel may have been unpublished."
|
||||
"This channel may have been unpublished.": "This channel may have been unpublished.",
|
||||
"There was an error. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R.": "There was an error. Try %refreshing_the_app_link% to fix it. If that doesn't work, try pressing Ctrl+R/Cmd+R."
|
||||
}
|
|
@ -84,11 +84,11 @@ function ShowPage(props: Props) {
|
|||
}
|
||||
innerContent = (
|
||||
<Page>
|
||||
{isResolvingUri && <BusyIndicator message={__('Loading decentralized data...')} />}
|
||||
{(claim === undefined || isResolvingUri) && <BusyIndicator message={__('Loading decentralized data...')} />}
|
||||
{!isResolvingUri && !isSubscribed && (
|
||||
<span className="empty">{__("There's nothing available at this location.")}</span>
|
||||
)}
|
||||
{!isResolvingUri && isSubscribed && <AbandonedChannelPreview uri={uri} type={'large'} />}
|
||||
{!isResolvingUri && isSubscribed && claim === null && <AbandonedChannelPreview uri={uri} type={'large'} />}
|
||||
</Page>
|
||||
);
|
||||
} else if (claim.name.length && claim.name[0] === '@') {
|
||||
|
|
Loading…
Reference in a new issue