Refresh claims fix #246
2 changed files with 3 additions and 5 deletions
|
@ -47,13 +47,11 @@ class FileCard extends React.PureComponent {
|
|||
const { claim, fileInfo, metadata, isResolvingUri, navigate } = this.props;
|
||||
|
||||
const uri = lbryuri.normalize(this.props.uri);
|
||||
const title = !isResolvingUri && metadata && metadata.title
|
||||
? metadata.title
|
||||
: uri;
|
||||
const title = metadata && metadata.title ? metadata.title : uri;
|
||||
const obscureNsfw = this.props.obscureNsfw && metadata && metadata.nsfw;
|
||||
|
||||
let description = "";
|
||||
if (isResolvingUri) {
|
||||
if (isResolvingUri && !claim) {
|
||||
description = __("Loading...");
|
||||
} else if (metadata && metadata.description) {
|
||||
description = metadata.description;
|
||||
|
|
|
@ -21,7 +21,7 @@ class UriIndicator extends React.PureComponent {
|
|||
render() {
|
||||
const { claim, uri, isResolvingUri } = this.props;
|
||||
|
||||
if (isResolvingUri) {
|
||||
if (isResolvingUri && !claim) {
|
||||
return <span className="empty">Validating...</span>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue