diff --git a/lib/common/components/JobMonitor.js b/lib/common/components/JobMonitor.js index 70cb1e27b..e8a6a8a12 100644 --- a/lib/common/components/JobMonitor.js +++ b/lib/common/components/JobMonitor.js @@ -7,6 +7,7 @@ import {Link} from 'react-router' import {removeRetiredJob} from '../../manager/actions/status' import SidebarPopover from './SidebarPopover' +import {getConfigProperty} from '../util/config' import type {ServerJob} from '../../types' import type {JobStatusState} from '../../types/reducers' @@ -136,6 +137,7 @@ class RetiredJob extends Component<{ render () { const {job} = this.props const path = this._getPathToObject() + const supportEmail = getConfigProperty('application.support_email') return (
- To submit an error report email a screenshot of your browser - window, the following text (current URL and error details), - and a detailed description of the steps you followed - to support@conveyal.com. -
+ {supportEmail + ?+ To submit an error report email a screenshot of your browser + window, the following text (current URL and error details), + and a detailed description of the steps you followed + to {supportEmail}. +
+ : null + }{window.location.href}
{job.status.exceptionDetails}