mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Use getLangText for COA Intercom message
This commit is contained in:
parent
8a70f0acc5
commit
0f8499dfee
@ -225,8 +225,10 @@ let CoaDetails = React.createClass({
|
||||
},
|
||||
|
||||
contactOnIntercom() {
|
||||
window.Intercom('showNewMessage', `Hi, I'm having problems generating a Certificate of Authenticity for Edition: ${this.props.editionId}`);
|
||||
console.logGlobal(new Error(`Coa couldn't be created for edition: ${this.props.editionId}`), this.props.coaError);
|
||||
const { coaError, editionId } = this.props;
|
||||
|
||||
window.Intercom('showNewMessage', getLangText("Hi, I'm having problems generating a Certificate of Authenticity for Edition: %s", editionId));
|
||||
console.logGlobal(new Error(`Coa couldn't be created for edition: ${editionId}`), coaError);
|
||||
},
|
||||
|
||||
render() {
|
||||
|
Loading…
Reference in New Issue
Block a user