centered show lite content
This commit is contained in:
parent
c4a77f0317
commit
cb871cae36
1 changed files with 17 additions and 17 deletions
|
@ -103,23 +103,23 @@ class ShowAsset extends React.Component {
|
||||||
}
|
}
|
||||||
render () {
|
render () {
|
||||||
if (this.props.claimData) {
|
if (this.props.claimData) {
|
||||||
return (
|
if (this.props.extension) {
|
||||||
<div>
|
return (
|
||||||
{ this.props.extension ? (
|
<ShowAssetLite
|
||||||
<ShowAssetLite
|
error={this.state.error}
|
||||||
error={this.state.error}
|
claimData={this.props.claimData}
|
||||||
claimData={this.props.claimData}
|
/>
|
||||||
/>
|
);
|
||||||
) : (
|
} else {
|
||||||
<ShowAssetDetails
|
return (
|
||||||
error={this.state.error}
|
<ShowAssetDetails
|
||||||
claimData={this.props.claimData}
|
error={this.state.error}
|
||||||
shortId={this.props.shortId}
|
claimData={this.props.claimData}
|
||||||
/>
|
shortId={this.props.shortId}
|
||||||
)}
|
/>
|
||||||
</div>
|
);
|
||||||
);
|
}
|
||||||
}
|
};
|
||||||
return (
|
return (
|
||||||
<div></div>
|
<div></div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue