1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 00:01:17 +02:00

Catch promise reject when not logged in on reply

This commit is contained in:
Alexander Skvortsov
2020-10-05 14:40:33 -04:00
parent 401c31a71d
commit f347a45fd1

View File

@@ -33,7 +33,7 @@ export default class ReplyPlaceholder extends Component {
} }
const reply = () => { const reply = () => {
DiscussionControls.replyAction.call(this.attrs.discussion, true); DiscussionControls.replyAction.call(this.attrs.discussion, true).catch(() => {});
}; };
return ( return (