From b16fa4171acd7ae61f861e94bd634fc723d60f79 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 26 Jan 2017 13:42:26 +0000 Subject: [PATCH] Close the dialog box after sending bugs --- src/components/views/dialogs/BugReportDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/dialogs/BugReportDialog.js b/src/components/views/dialogs/BugReportDialog.js index e3c8945a..dcc0850e 100644 --- a/src/components/views/dialogs/BugReportDialog.js +++ b/src/components/views/dialogs/BugReportDialog.js @@ -49,6 +49,7 @@ export default class BugReportDialog extends React.Component { this.setState({ busy: true, err: null }); rageshake.sendBugReport(userText, sendLogs).then(() => { this.setState({ busy: false }); + this.props.onFinished(false); }, (err) => { this.setState({ busy: false, err: `Failed: ${err.message}` }); });