diff options
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/renderer/containers/SupportPage.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/src/renderer/containers/SupportPage.tsx b/gui/src/renderer/containers/SupportPage.tsx index 7cb72b9c72..d77ec3e421 100644 --- a/gui/src/renderer/containers/SupportPage.tsx +++ b/gui/src/renderer/containers/SupportPage.tsx @@ -2,6 +2,7 @@ import { shell } from 'electron'; import { connect } from 'react-redux'; import { RouteComponentProps, withRouter } from 'react-router'; import { bindActionCreators } from 'redux'; +import consumePromise from '../../shared/promise'; import Support from '../components/Support'; import { collectProblemReport, sendProblemReport } from '../lib/problem-report'; import { IReduxState, ReduxDispatch } from '../redux/store'; @@ -23,7 +24,7 @@ const mapDispatchToProps = (dispatch: ReduxDispatch, props: RouteComponentProps) props.history.goBack(); }, viewLog(path: string) { - shell.openItem(path); + consumePromise(shell.openPath(path)); }, saveReportForm, clearReportForm, |
