mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
Merge pull request #91 from ascribe/AD-1543-edition-detail-hangs-on-first-view-after-transfer
AD-1543 Edition detail hangs on first view after transfer
This commit is contained in:
commit
c4730dbae5
@ -233,9 +233,9 @@ let CoaDetails = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { coa = {}, coaError } = this.props;
|
const { coa, coaError } = this.props;
|
||||||
|
|
||||||
let coaDetailElement;
|
let coaDetailElement;
|
||||||
|
|
||||||
if (coaError) {
|
if (coaError) {
|
||||||
coaDetailElement = [
|
coaDetailElement = [
|
||||||
<p>{getLangText('There was an error generating your Certificate of Authenticity.')}</p>,
|
<p>{getLangText('There was an error generating your Certificate of Authenticity.')}</p>,
|
||||||
@ -244,7 +244,7 @@ let CoaDetails = React.createClass({
|
|||||||
<a style={{ cursor: 'pointer' }} onClick={this.contactOnIntercom}>{getLangText('contact us')}</a>.
|
<a style={{ cursor: 'pointer' }} onClick={this.contactOnIntercom}>{getLangText('contact us')}</a>.
|
||||||
</p>
|
</p>
|
||||||
];
|
];
|
||||||
} else if (coa.url_safe) {
|
} else if (coa && coa.url_safe) {
|
||||||
coaDetailElement = [
|
coaDetailElement = [
|
||||||
<div
|
<div
|
||||||
className="notification-contract-pdf"
|
className="notification-contract-pdf"
|
||||||
|
Loading…
Reference in New Issue
Block a user