mirror of https://github.com/vector-im/riot-web
Close the dialog box after sending bugs
parent
7850f7e505
commit
b16fa4171a
|
@ -49,6 +49,7 @@ export default class BugReportDialog extends React.Component {
|
||||||
this.setState({ busy: true, err: null });
|
this.setState({ busy: true, err: null });
|
||||||
rageshake.sendBugReport(userText, sendLogs).then(() => {
|
rageshake.sendBugReport(userText, sendLogs).then(() => {
|
||||||
this.setState({ busy: false });
|
this.setState({ busy: false });
|
||||||
|
this.props.onFinished(false);
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
this.setState({ busy: false, err: `Failed: ${err.message}` });
|
this.setState({ busy: false, err: `Failed: ${err.message}` });
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue