Whitelabel ‘report a problem’ email (#945)
* Whitelabel ‘report a problem’ email * Fix lint error
This commit is contained in:
parent
c3f36e6a89
commit
229e5935f6
1 changed files with 4 additions and 4 deletions
|
|
@ -154,11 +154,11 @@ class Settings extends PureComponent {
|
|||
};
|
||||
|
||||
openErrorEmail = () => {
|
||||
const recipient = 'feedback@mattermost.com';
|
||||
const subject = 'Problem with Mattermost React Native app';
|
||||
const body = this.errorEmailBody();
|
||||
const {config} = this.props;
|
||||
const recipient = config.SupportEmail;
|
||||
const subject = `Problem with ${config.SiteName} React Native app`;
|
||||
Linking.openURL(
|
||||
`mailto:${recipient}?subject=${subject}&body=${body}`
|
||||
`mailto:${recipient}?subject=${subject}&body=${this.errorEmailBody()}`
|
||||
);
|
||||
this.props.actions.clearErrors();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue